diff --git a/library/core/src/num/f32.rs b/library/core/src/num/f32.rs index d14d66f9cb579..7551a50949201 100644 --- a/library/core/src/num/f32.rs +++ b/library/core/src/num/f32.rs @@ -1022,7 +1022,8 @@ impl f32 { target_arch = "aarch64", all(any(target_arch="riscv32", target_arch= "riscv64"), target_feature="d"), all(target_arch = "arm", target_feature="vfp2"), - target_family = "wasm", + target_arch = "wasm32", + target_arch = "wasm64", ))] { // whitelist the faster implementation to targets that have known good 64-bit float // implementations. Falling back to the branchy code on targets that don't have