Skip to content

Commit

Permalink
librustc_driver has been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 6, 2015
1 parent b009778 commit 93fe5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_driver/driver.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 93fe5c8

Please sign in to comment.