Skip to content

Commit 329b901

Browse files
committed
Remove nacl from libtest
1 parent aad1c99 commit 329b901

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libtest/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1554,16 +1554,14 @@ impl MetricMap {
15541554
/// elimination.
15551555
///
15561556
/// This function is a no-op, and does not even read from `dummy`.
1557-
#[cfg(not(any(all(target_os = "nacl", target_arch = "le32"),
1558-
target_arch = "asmjs", target_arch = "wasm32")))]
1557+
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
15591558
pub fn black_box<T>(dummy: T) -> T {
15601559
// we need to "use" the argument in some way LLVM can't
15611560
// introspect.
15621561
unsafe { asm!("" : : "r"(&dummy)) }
15631562
dummy
15641563
}
1565-
#[cfg(any(all(target_os = "nacl", target_arch = "le32"),
1566-
target_arch = "asmjs", target_arch = "wasm32"))]
1564+
#[cfg(any(target_arch = "asmjs", target_arch = "wasm32"))]
15671565
#[inline(never)]
15681566
pub fn black_box<T>(dummy: T) -> T {
15691567
dummy

0 commit comments

Comments
 (0)