Skip to content

Conversation

@laky241
Copy link

@laky241 laky241 commented Jan 20, 2025

Fixes #1070

updated the code to check the target language whenever the -i flag is used.

If the target language is Rust, the flag is disabled,

modified the file enrobage.cpp to ensure the -i flag logic only applies to languages where it makes sense.

// ========================

if (gRustNoTraitSwitch && gOutputLang != "rust") {
throw faustexception("ERROR : '-rnt' option can only be used with rust\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

please don't remove valid code.

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.

flag -i (gInlineArchSwitch) has no effect for some languages

2 participants