add the compiler_builtins feature to src/lib.rs
This commit is contained in:
parent
d2a3c45a29
commit
24c0247c6a
@ -1,13 +1,13 @@
|
|||||||
|
#![cfg_attr(not(test), no_std)]
|
||||||
|
#![compiler_builtins]
|
||||||
#![crate_name = "compiler_builtins"]
|
#![crate_name = "compiler_builtins"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
#![feature(compiler_builtins)]
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
#![feature(linkage)]
|
#![feature(linkage)]
|
||||||
#![feature(naked_functions)]
|
#![feature(naked_functions)]
|
||||||
#![cfg_attr(not(test), no_std)]
|
|
||||||
#![no_builtins]
|
#![no_builtins]
|
||||||
// TODO(rust-lang/rust#35021) uncomment when that PR lands
|
|
||||||
// #![feature(rustc_builtins)]
|
|
||||||
|
|
||||||
// We disable #[no_mangle] for tests so that we can verify the test results
|
// We disable #[no_mangle] for tests so that we can verify the test results
|
||||||
// against the native compiler-rt implementations of the builtins.
|
// against the native compiler-rt implementations of the builtins.
|
||||||
|
Loading…
Reference in New Issue
Block a user