Skip to content

Commit c0fd0ca

Browse files
committed
Only enable simd_wasm64 on wasm64
1 parent 170e729 commit c0fd0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@
266266
)]
267267
#![cfg_attr(any(windows, target_os = "uefi"), feature(round_char_boundary))]
268268
#![cfg_attr(target_family = "wasm", feature(stdarch_wasm_atomic_wait))]
269+
#![cfg_attr(target_arch = "wasm64", feature(simd_wasm64))]
269270
#![cfg_attr(
270271
all(any(target_arch = "x86_64", target_arch = "x86"), target_os = "uefi"),
271272
feature(stdarch_x86_has_cpuid)
@@ -348,7 +349,6 @@
348349
#![feature(prelude_2024)]
349350
#![feature(ptr_as_uninit)]
350351
#![feature(ptr_mask)]
351-
#![feature(simd_wasm64)]
352352
#![feature(slice_internals)]
353353
#![feature(slice_ptr_get)]
354354
#![feature(slice_range)]

0 commit comments

Comments
 (0)