mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
Rollup merge of #46705 - pornel:cargo-output, r=alexcrichton
Help Cargo tolerate RUSTFLAGS="--print=native-static-libs" Alternative to https://github.com/rust-lang/cargo/pull/4807 Having this "error" message was a mistake, as it's firing at exactly wrong time when Cargo is trying to read the output of other print commands.
This commit is contained in:
commit
180a6b25df
@ -810,9 +810,8 @@ impl RustcDefaultCalls {
|
||||
PrintRequest::TargetCPUs | PrintRequest::TargetFeatures => {
|
||||
rustc_trans::print(*req, sess);
|
||||
}
|
||||
PrintRequest::NativeStaticLibs => {
|
||||
println!("Native static libs can be printed only during linking");
|
||||
}
|
||||
// Any output here interferes with Cargo's parsing of other printed output
|
||||
PrintRequest::NativeStaticLibs => {}
|
||||
}
|
||||
}
|
||||
return Compilation::Stop;
|
||||
|
Loading…
Reference in New Issue
Block a user