about summary refs log tree commit diff
path: root/src/librustpkg/rustpkg.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustpkg/rustpkg.rc')
-rw-r--r--src/librustpkg/rustpkg.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc
index 19dc973a4a1..79e978c01d1 100644
--- a/src/librustpkg/rustpkg.rc
+++ b/src/librustpkg/rustpkg.rc
@@ -18,10 +18,15 @@
 #[license = "MIT/ASL2"];
 #[crate_type = "lib"];
 
-extern mod std;
+#[no_std];
+
+extern mod core(name = "std");
+extern mod std(name = "extra");
+
 extern mod rustc;
 extern mod syntax;
 
+use core::prelude::*;
 use core::*;
 pub use core::path::Path;
 use core::hashmap::HashMap;