Skip to content

Conversation

@liam923
Copy link
Contributor

@liam923 liam923 commented Dec 3, 2025

Merlin gets invoked with the same flags as the compiler. Thus, it must know what to do with every compiler flag. Some of them it actually parses and does something with, but there's also a long list of ignored flags. Although we try to be careful about Merlin keeping these flags in sync with the compiler, it's easy to make a mistake here, and we have in the past. This PR adds a test that prints out all the compiler flags that Merlin doesn't know how to handle.

When I did this, I discovered a list of ~30 compiler flags that Merlin currently doesn't understand, which I added to the list of ignored flags.

Copy link
Contributor

@dkalinichenko-js dkalinichenko-js left a comment

Choose a reason for hiding this comment

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

LGTM pending fixing the whitespace issue in the CI.

@liam923 liam923 merged commit db900cc into main Dec 4, 2025
1 check passed
@liam923 liam923 deleted the add-ignored-flag branch December 4, 2025 16:05
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