about summary refs log tree commit diff
path: root/src/librustdoc/rustdoc.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/rustdoc.rc')
-rw-r--r--src/librustdoc/rustdoc.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc
index fed8bc0e972..9b73e393cb2 100644
--- a/src/librustdoc/rustdoc.rc
+++ b/src/librustdoc/rustdoc.rc
@@ -21,10 +21,16 @@
 
 #[allow(non_implicitly_copyable_typarams)];
 
-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 config::Config;
 use doc::Item;
 use doc::ItemUtils;