-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Parsing of RUSTFLAGS broken in cargo #2618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report! As mentioned in the documentation, however, the |
Isn't that worth considering that intentional/documented behaviour as incorrect (i.e. a bug)? It seems... sad that one just flat-out can't pass arguments with spaces (or maybe you know of a work-around that means this isn't a total impossibility?). |
In any case, the fact quoting works for rustc, but not cargo, is a nasty surprise. -original message- Isn't that worth considering that intentional behaviour as incorrect (i.e. a bug)? You are receiving this because you authored the thread. |
I... don't think the |
Rustc ignoring RUSTFLAGS?? Until now I've been convinced it didn't as the quoted string works as expected during bootstrap. But it seems it might be passed directly indeed by the make scripts. -original message- I... don't think the You are receiving this because you authored the thread. |
The space separation was discussed a good bit on the original implementation PR, and the decision was to defer it for now.
Unfortunately, I know of no workaround beyond this RFC.
No, the quoting is parsed by the shell, not rustc. |
Right, the modified first example should look like this:
error: Unrecognized option: 'f'.` Consistent! |
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: