librustc_driver has been updated

This commit is contained in:
GuillaumeGomez 2015-02-04 01:07:42 +01:00
parent b0097783b9
commit 93fe5c82bf

View file

@ -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 {