mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 22:43:42 +00:00
rollup merge of #21739: alexcrichton/better-print
Closes rust-lang/cargo#1234
This commit is contained in:
commit
c8f2726b39
@ -882,7 +882,7 @@ pub fn collect_crate_types(session: &Session,
|
||||
let res = !link::invalid_output_for_target(session, *crate_type);
|
||||
|
||||
if !res {
|
||||
session.warn(&format!("dropping unsupported crate type `{:?}` \
|
||||
session.warn(&format!("dropping unsupported crate type `{}` \
|
||||
for target `{}`",
|
||||
*crate_type, session.opts.target_triple)[]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user