Skip to content

Commit

Permalink
Fix feature order
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Oct 29, 2024
1 parent 1e1d684 commit 56a4cc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ fn emit_f16_f128_cfg(cfg: &Config) {

// `unstable-float` enables these features. Either `no-f16-f128` or `force-soft-floats`
// will disable them.
if cfg!(feature = "unstable-float")
&& (cfg!(feature = "no-f16-f128") || cfg!(feature = "force-soft-floats"))
if !cfg!(feature = "unstable-float")
|| cfg!(feature = "no-f16-f128")
|| cfg!(feature = "force-soft-floats")
{
return;
}
Expand Down

0 comments on commit 56a4cc6

Please sign in to comment.