summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-07 15:36:57 +0800
committerkennytm <kennytm@gmail.com>2018-04-07 15:36:57 +0800
commit24b3a979860efad7a69a432c0f1bcbf35b8bbab7 (patch)
treea92bd703cc755e11c1046b772d015c65ecef4893 /src/libstd
parent3e0b15f8243be22019e93755bf94f46c8a25f4de (diff)
parent679657b863c2a53a3052d8af9defbce48e12db10 (diff)
downloadrust-24b3a979860efad7a69a432c0f1bcbf35b8bbab7.tar.gz
rust-24b3a979860efad7a69a432c0f1bcbf35b8bbab7.zip
Rollup merge of #49503 - oli-obk:extern_crate_compiler_builtins, r=alexcrichton
Inject the `compiler_builtins` crate whenever the `core` crate is injected
Diffstat (limited to 'src/libstd')
-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