Skip to content

feat(melange): deprecate melange.compile_flags in Dune 3.26 - #16573

Merged
anmonteiro merged 4 commits into
ocaml:mainfrom
anmonteiro:melange/deprecate-compile-flags
Oct 18, 2026
Merged

anmonteiro merged 4 commits into
ocaml:mainfrom
anmonteiro:melange/deprecate-compile-flags

Conversation

@anmonteiro

Copy link
Copy Markdown
Collaborator

Add melange.flags for libraries and env stanzas in Dune 3.26, deprecating melange.compile_flags while retaining compatibility. melange.emit keeps compile_flags.

Upstreams anmonteiro#214; follow-up to #16501.

@anmonteiro
anmonteiro merged commit d5f3fd5 into ocaml:main Oct 18, 2026
38 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Oct 18, 2026
anmonteiro added a commit that referenced this pull request Oct 25, 2026
Make `melange.flags` override shared `flags`, falling back when omitted,
while preserving the additive behavior of `melange.compile_flags`.

Follow-up to #16573.

---------

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
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.

2 participants