mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
auto merge of #8976 : alexcrichton/rust/issue-5425, r=pnkfelix
Closes #5425
This commit is contained in:
commit
787f4c986c
@ -616,6 +616,10 @@ pub fn build_link_meta(sess: Session,
|
||||
|| fmt!("output file name `%s` doesn't\
|
||||
appear to have a stem",
|
||||
output.to_str())).to_managed();
|
||||
if name.is_empty() {
|
||||
sess.fatal("missing crate link meta `name`, and the \
|
||||
inferred name is blank");
|
||||
}
|
||||
warn_missing(sess, "name", name);
|
||||
name
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user