Skip to content

Commit a150ee2

Browse files
committed
switch from target_family to target_arch
1 parent 811072a commit a150ee2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/num/f32.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,8 @@ impl f32 {
10221022
target_arch = "aarch64",
10231023
all(any(target_arch="riscv32", target_arch= "riscv64"), target_feature="d"),
10241024
all(target_arch = "arm", target_feature="vfp2"),
1025-
target_family = "wasm",
1025+
target_arch = "wasm32",
1026+
target_arch = "wasm64",
10261027
))] {
10271028
// whitelist the faster implementation to targets that have known good 64-bit float
10281029
// implementations. Falling back to the branchy code on targets that don't have

0 commit comments

Comments
 (0)