Skip to content

Commit 879f36a

Browse files
committed
Fix warning on 64 bit
1 parent 044264a commit 879f36a

File tree

1 file changed

+2
-2
lines changed
  • src/libcompiler_builtins

1 file changed

+2
-2
lines changed

src/libcompiler_builtins/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#![crate_name = "compiler_builtins"]
1818
#![crate_type = "rlib"]
1919
#![feature(staged_api)]
20-
#![feature(core_intrinsics)]
21-
#![feature(core_float)]
20+
#![cfg_attr(any(target_pointer_width="32", target_pointer_width="16"),
21+
feature(core_intrinsics, core_float))]
2222
#![feature(associated_consts)]
2323
#![cfg_attr(not(stage0), feature(i128_type))]
2424

0 commit comments

Comments
 (0)