Skip to content

feat: allow extending compile/link args#1203

Open
fantix wants to merge 3 commits intomoonbitlang:mainfrom
fantix:compiler-args-override
Open

feat: allow extending compile/link args#1203
fantix wants to merge 3 commits intomoonbitlang:mainfrom
fantix:compiler-args-override

Conversation

@fantix
Copy link
Copy Markdown
Contributor

@fantix fantix commented Nov 12, 2025

  • Related issues: None
  • PR kind: feature

Summary

This PR adds 2 environment variables:

  • MOON_COMPILE_FLAGS
  • MOON_LINK_FLAGS

Which will correspondingly override or extend moonc compile/link CLI flags.

Metadata

  • Tests added/updated for bug fixes or new features
  • Compatible with Windows/Linux/macOS

@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented Nov 12, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/moon/src/cli.rs  5% smaller

@fantix fantix force-pushed the compiler-args-override branch from 2241499 to fd328d8 Compare November 12, 2025 03:38
@fantix fantix force-pushed the compiler-args-override branch from fd328d8 to 20210e2 Compare November 13, 2025 01:09
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.

1 participant