about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-10-09 17:07:33 +0100
committerGary Guo <gary@garyguo.net>2021-10-09 17:07:33 +0100
commit01825669b8968b5508241de456d4ce21e0fdfd87 (patch)
treee36ca36a0b1593cb26c2a79e776f002cc624594e
parent15491d7b6be1065217e09bd735e4ecffbe9838ba (diff)
downloadrust-01825669b8968b5508241de456d4ce21e0fdfd87.tar.gz
rust-01825669b8968b5508241de456d4ce21e0fdfd87.zip
Cfg hide no_global_oom_handling and no_fp_fmt_parse
-rw-r--r--library/alloc/src/lib.rs1
-rw-r--r--library/core/src/lib.rs1
2 files changed, 2 insertions, 0 deletions
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",