Skip to content

Commit 6b35963

Browse files
committed
Fix warning when compiling on 64 bit Linux
Code is much simpler now as well.
1 parent d166ee9 commit 6b35963

File tree

1 file changed

+3
-7
lines changed
  • src/libcompiler_builtins

1 file changed

+3
-7
lines changed

src/libcompiler_builtins/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@
1616
issue = "0")]
1717
#![crate_name = "compiler_builtins"]
1818
#![crate_type = "rlib"]
19-
#![feature(staged_api)]
20-
#![cfg_attr(any(target_pointer_width="32", target_pointer_width="16", target_os="windows",
21-
target_arch="mips64"),
22-
feature(core_intrinsics, repr_simd))]
23-
#![feature(associated_consts)]
24-
#![cfg_attr(not(stage0), feature(i128_type, core_float, abi_unadjusted))]
25-
19+
#![allow(unused_features)]
20+
#![feature(staged_api, core_intrinsics, repr_simd,
21+
i128_type, core_float, abi_unadjusted, associated_consts)]
2622
#![allow(non_camel_case_types, unused_variables, unused_imports)]
2723
#![cfg_attr(stage0, allow(dead_code))]
2824

0 commit comments

Comments
 (0)