rustc: Print out a prettier version of crate types
Closes rust-lang/cargo#1234
This commit is contained in:
parent
c5961ad06d
commit
a19d3368e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue