Skip to content

Commit 2f33093

Browse files
committed
Remove message that prevents Cargo from working with --print=native-static-libs
1 parent 6a36019 commit 2f33093

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustc_driver/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,8 @@ impl RustcDefaultCalls {
810810
PrintRequest::TargetCPUs | PrintRequest::TargetFeatures => {
811811
rustc_trans::print(*req, sess);
812812
}
813-
PrintRequest::NativeStaticLibs => {
814-
println!("Native static libs can be printed only during linking");
815-
}
813+
// Any output here interferes with Cargo's parsing of other printed output
814+
PrintRequest::NativeStaticLibs => {}
816815
}
817816
}
818817
return Compilation::Stop;

0 commit comments

Comments
 (0)