Skip to content

fix(examples): generate more portable Makefiles#273

Merged
bavshin-f5 merged 1 commit into
nginx:mainfrom
bavshin-f5:make-phony
Apr 3, 2026
Merged

fix(examples): generate more portable Makefiles#273
bavshin-f5 merged 1 commit into
nginx:mainfrom
bavshin-f5:make-phony

Conversation

@bavshin-f5

Copy link
Copy Markdown
Member

The change should resolve our intermittent CI issues caused by absence of .PHONY in NMAKE.

Tested: NMAKE 14.44, GNU Make 4.4.1, GNU Make 3.81, bmake 20230711, pdpmake 2.0.4, SUNOracle™ make.

The change should resolve our intermittent CI issues caused by absence
of .PHONY in NMAKE.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Rust example build Makefile generation to be more portable across different make implementations, addressing intermittent CI failures on NMAKE where .PHONY is not reliably supported.

Changes:

  • Emit a single pseudotarget (.NGX_RUST_PHONY) once per generated Makefile fragment.
  • Make each Rust build artifact depend on that pseudotarget so cargo rustc is invoked unconditionally without relying on .PHONY.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bavshin-f5 bavshin-f5 merged commit 34ee650 into nginx:main Apr 3, 2026
19 checks passed
@bavshin-f5 bavshin-f5 deleted the make-phony branch April 3, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants