UX for invalid RUSTFLAGS is poor #2756
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
A-rustflags
Area: rustflags
S-propose-close
Status: A team member has nominated this for closing, pending further input from the team
If
RUSTFLAGS
has a typo, then runningcargo
leads to error messages like:Passing
--verbose
does give more info (i.e. one can see the invocation that failed and the actual rustc output, and hence hopefully connect the dots back toRUSTFLAGS
). However, it seems like that info is always useful/shouldn't be hidden, since there's not much a user can do about "failed to runrustc
to learn about target-specific information" (in beta and nightly).The text was updated successfully, but these errors were encountered: