Skip to content

Commit 8c6e821

Browse files
author
Jorge Aparicio
committed
exclude windows and macos
1 parent 52cba7d commit 8c6e821

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#![feature(core_intrinsics)]
55
#![feature(linkage)]
66
#![feature(naked_functions)]
7+
#![no_builtins]
78
// TODO(rust-lang/rust#35021) uncomment when that PR lands
89
// #![feature(rustc_builtins)]
9-
#![no_builtins]
1010

1111
// We disable #[no_mangle] for tests so that we can verify the test results
1212
// against the native compiler-rt implementations of the builtins.
@@ -19,6 +19,7 @@ extern crate quickcheck;
1919
pub mod arm;
2020

2121
pub mod udiv;
22+
#[cfg(all(not(windows), not(target_os = "macos")))]
2223
pub mod mem;
2324
pub mod mul;
2425
pub mod shift;

0 commit comments

Comments
 (0)