We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2a3c45 commit 24c0247Copy full SHA for 24c0247
src/lib.rs
@@ -1,13 +1,13 @@
1
+#![cfg_attr(not(test), no_std)]
2
+#![compiler_builtins]
3
#![crate_name = "compiler_builtins"]
4
#![crate_type = "rlib"]
5
#![feature(asm)]
6
+#![feature(compiler_builtins)]
7
#![feature(core_intrinsics)]
8
#![feature(linkage)]
9
#![feature(naked_functions)]
-#![cfg_attr(not(test), no_std)]
10
#![no_builtins]
-// TODO(rust-lang/rust#35021) uncomment when that PR lands
-// #![feature(rustc_builtins)]
11
12
// We disable #[no_mangle] for tests so that we can verify the test results
13
// against the native compiler-rt implementations of the builtins.
0 commit comments