librustc_driver has been updated
This commit is contained in:
parent
b0097783b9
commit
93fe5c82bf
@ -914,7 +914,7 @@ pub fn build_output_filenames(input: &Input,
|
||||
|
||||
// If a crate name is present, we use it as the link name
|
||||
let stem = sess.opts.crate_name.clone().or_else(|| {
|
||||
attr::find_crate_name(attrs).map(|n| n.get().to_string())
|
||||
attr::find_crate_name(attrs).map(|n| n.to_string())
|
||||
}).unwrap_or(input.filestem());
|
||||
|
||||
OutputFilenames {
|
||||
|
Loading…
Reference in New Issue
Block a user