diff options
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/front/std_inject.rs | 2 | ||||
| -rw-r--r-- | src/librustc/lib.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/front/std_inject.rs b/src/librustc/front/std_inject.rs index ff8711c5df0..32e0c323d1f 100644 --- a/src/librustc/front/std_inject.rs +++ b/src/librustc/front/std_inject.rs @@ -62,7 +62,7 @@ struct StandardLibraryInjector<'a> { impl<'a> fold::Folder for StandardLibraryInjector<'a> { fn fold_crate(&mut self, mut krate: ast::Crate) -> ast::Crate { - // The name to use in `extern crate std = "name";` + // The name to use in `extern crate "name" as std;` let actual_crate_name = match self.sess.opts.alt_std_name { Some(ref s) => token::intern_and_get_ident(s.as_slice()), None => token::intern_and_get_ident("std"), diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 0d4f4f556e1..03dfcec18db 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -42,8 +42,8 @@ extern crate flate; extern crate getopts; extern crate graphviz; extern crate libc; -extern crate llvm = "rustc_llvm"; -extern crate rustc_back = "rustc_back"; +extern crate "rustc_llvm" as llvm; +extern crate "rustc_back" as rustc_back; extern crate serialize; extern crate rbml; extern crate time; |
