Skip to content

Commit 811072a

Browse files
RustyYatoa1phyr
andauthored
add wasm to whitelisted target features
Co-authored-by: Alphyr <[email protected]>
1 parent 1b4fc40 commit 811072a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/num/f32.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,7 @@ 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",
10251026
))] {
10261027
// whitelist the faster implementation to targets that have known good 64-bit float
10271028
// implementations. Falling back to the branchy code on targets that don't have

0 commit comments

Comments
 (0)