-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cargo build
failed with RUSTFLAGS="--print sysroot"
#4510
Comments
There's some initial stages where we parse some output from rustc that we still need to pass rustflags, how come you're passing these flags to all compliations? Shouldn't it just be the final compilation? |
I intended to use a rustc flags ( |
@alexcrichton I misunderstand the usage of the |
Ok, thanks for the update! |
cargo build will fail when passing RUSTFLAGS like
--print sysroot
,--print native-static-libs
, etc.I guess cargo will read stdout for other purposes?
For example:
Versions:
The text was updated successfully, but these errors were encountered: