diff options
| author | Kornel <kornel@geekhood.net> | 2017-12-12 22:09:40 +0000 |
|---|---|---|
| committer | Kornel <kornel@geekhood.net> | 2017-12-13 01:43:01 +0000 |
| commit | 2f33093ed6377dbd3ffb94d41333d3e06b6efa3d (patch) | |
| tree | 4cbfa01a85195ef2d269ea013cbf0c6ad42cef99 | |
| parent | 6a360194404c07e09b548626efa4b7c7777510e9 (diff) | |
Remove message that prevents Cargo from working with --print=native-static-libs
| -rw-r--r-- | src/librustc_driver/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index d9b67e2d27f..f67425b2334 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -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; |
