Skip to content

Commit 759b35b

Browse files
tgross35Urgau
andauthored
Update compiler/rustc_session/src/config/cfg.rs
Co-authored-by: Urgau <[email protected]>
1 parent f61f530 commit 759b35b

File tree

1 file changed

+4
-4
lines changed
  • compiler/rustc_session/src/config

1 file changed

+4
-4
lines changed

compiler/rustc_session/src/config/cfg.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ pub(crate) fn disallow_cfgs(sess: &Session, user_cfgs: &Cfg) {
142142
| (sym::target_has_atomic, Some(_))
143143
| (sym::target_has_atomic_equal_alignment, Some(_))
144144
| (sym::target_has_atomic_load_store, Some(_))
145-
| (sym::target_has_reliable_f16, Some(_))
146-
| (sym::target_has_reliable_f16_math, Some(_))
147-
| (sym::target_has_reliable_f128, Some(_))
148-
| (sym::target_has_reliable_f128_math, Some(_))
145+
| (sym::target_has_reliable_f16, None | Some(_))
146+
| (sym::target_has_reliable_f16_math, None | Some(_))
147+
| (sym::target_has_reliable_f128, None | Some(_))
148+
| (sym::target_has_reliable_f128_math, None | Some(_))
149149
| (sym::target_thread_local, None) => disallow(cfg, "--target"),
150150
(sym::fmt_debug, None | Some(_)) => disallow(cfg, "-Z fmt-debug"),
151151
(sym::emscripten_wasm_eh, None | Some(_)) => disallow(cfg, "-Z emscripten_wasm_eh"),

0 commit comments

Comments
 (0)