|
1 |
| -#![cfg_attr(not(stage0), deny(warnings))] |
2 |
| -#![cfg_attr(not(test), no_std)] |
3 | 1 | #![cfg_attr(feature = "compiler-builtins", compiler_builtins)]
|
4 |
| -#![crate_name = "compiler_builtins"] |
5 |
| -#![crate_type = "rlib"] |
6 |
| -#![doc( |
7 |
| - html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", |
8 |
| - html_favicon_url = "https://doc.rust-lang.org/favicon.ico", |
9 |
| - html_root_url = "https://doc.rust-lang.org/nightly/", |
10 |
| - html_playground_url = "https://play.rust-lang.org/", |
11 |
| - test(attr(deny(warnings))) |
12 |
| -)] |
| 2 | +#![feature(abi_unadjusted)] |
13 | 3 | #![feature(asm)]
|
14 | 4 | #![feature(compiler_builtins)]
|
15 | 5 | #![feature(core_intrinsics)]
|
| 6 | +#![feature(lang_items)] |
| 7 | +#![feature(linkage)] |
16 | 8 | #![feature(naked_functions)]
|
17 | 9 | #![feature(repr_simd)]
|
18 |
| -#![feature(abi_unadjusted)] |
19 |
| -#![feature(linkage)] |
20 |
| -#![feature(lang_items)] |
21 |
| -#![allow(unused_features)] |
22 | 10 | #![no_builtins]
|
23 |
| -#![cfg_attr(feature = "compiler-builtins", feature(staged_api))] |
24 |
| -#![cfg_attr( |
25 |
| - feature = "compiler-builtins", |
26 |
| - unstable( |
27 |
| - feature = "compiler_builtins_lib", |
28 |
| - reason = "Compiler builtins. Will never become stable.", |
29 |
| - issue = "0" |
30 |
| - ) |
31 |
| -)] |
| 11 | +#![no_std] |
| 12 | + |
| 13 | +#![allow(unused_features)] |
32 | 14 |
|
33 | 15 | // We use `u128` in a whole bunch of places which we currently agree with the
|
34 | 16 | // compiler on ABIs and such, so we should be "good enough" for now and changes
|
|
0 commit comments