1
Fork 0

Remove message that prevents Cargo from working with --print=native-static-libs

This commit is contained in:
Kornel 2017-12-12 22:09:40 +00:00
parent 6a36019440
commit 2f33093ed6

View file

@ -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;