Skip to content

Commit

Permalink
Remove message that prevents Cargo from working with --print=native-s…
Browse files Browse the repository at this point in the history
…tatic-libs
  • Loading branch information
kornelski committed Dec 13, 2017
1 parent 6a36019 commit 2f33093
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/librustc_driver/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2f33093

Please sign in to comment.