grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.59k stars 323 forks source link

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

Open crop2000 opened 3 weeks ago

crop2000 commented 3 weeks ago

-i only affects languages where this function can be true: https://github.com/grame-cncm/faust/blob/64b067b68ac43bb6f75c19ff9158111d70aab5c7/compiler/parser/enrobage.cpp#L145

would it make sense to restrict the -i flag use to languages where is can have a effect https://github.com/grame-cncm/faust/blob/64b067b68ac43bb6f75c19ff9158111d70aab5c7/compiler/global.cpp#L1662

right now i only know that it would have no effect when compiling to rust.