From 01825669b8968b5508241de456d4ce21e0fdfd87 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Sat, 9 Oct 2021 17:07:33 +0100 Subject: [PATCH] Cfg hide no_global_oom_handling and no_fp_fmt_parse --- library/alloc/src/lib.rs | 1 + library/core/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index dd04f782f94..89ab11fb97e 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -73,6 +73,7 @@ not(test), not(any(test, bootstrap)), any(not(feature = "miri-test-libstd"), test, doctest), + no_global_oom_handling, target_has_atomic = "ptr" )) )] diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index e10d01b58b0..7bc641c5276 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -65,6 +65,7 @@ doc(cfg_hide( not(test), any(not(feature = "miri-test-libstd"), test, doctest), + no_fp_fmt_parse, target_pointer_width = "16", target_pointer_width = "32", target_pointer_width = "64",