about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-03-30 13:06:34 +0200
committerOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-04-07 09:24:35 +0200
commit679657b863c2a53a3052d8af9defbce48e12db10 (patch)
treeff837586031384aec5febe548a17d1152bacd204 /src/libstd/lib.rs
parentee1014e50570e4572980e2496634cbb0eac768dd (diff)
downloadrust-679657b863c2a53a3052d8af9defbce48e12db10.tar.gz
rust-679657b863c2a53a3052d8af9defbce48e12db10.zip
Inject the `compiler_builtins` crate whenever the `core` crate is injected
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 6f6abfdd31e..f9041ac8546 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -373,6 +373,7 @@ extern crate unwind;
 
 // compiler-rt intrinsics
 #[doc(masked)]
+#[cfg(stage0)]
 extern crate compiler_builtins;
 
 // During testing, this crate is not actually the "real" std library, but rather