diff options
| author | GuillaumeGomez <guillaume1.gomez@gmail.com> | 2015-02-04 01:07:42 +0100 |
|---|---|---|
| committer | GuillaumeGomez <guillaume1.gomez@gmail.com> | 2015-02-06 12:01:58 +0100 |
| commit | 93fe5c82bfc58019cd799d9ceca8e22b380cfa60 (patch) | |
| tree | cc065ec7fdfa9ebd51d03785d51ce92bbade12ae | |
| parent | b0097783b980056b67020f0e65107f87ed813275 (diff) | |
| download | rust-93fe5c82bfc58019cd799d9ceca8e22b380cfa60.tar.gz rust-93fe5c82bfc58019cd799d9ceca8e22b380cfa60.zip | |
librustc_driver has been updated
| -rw-r--r-- | src/librustc_driver/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 0b0b1f9276f..528ea228a98 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -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 { |
