Skip to content

Commit

Permalink
switch from target_family to target_arch
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyYato committed May 25, 2024
1 parent 811072a commit a150ee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/core/src/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a150ee2

Please sign in to comment.