Skip to content

Commit ce6097d

Browse files
authored
Rollup merge of #89705 - nbdd0121:doc, r=GuillaumeGomez
Cfg hide no_global_oom_handling and no_fp_fmt_parse These are unstable sysroot customisation cfg options that only projects building their own sysroot will use (e.g. Rust-for-linux). Most users shouldn't care. `no_global_oom_handling` can be especially annoying since it's applied on many commonly used alloc crate methods (e.g. `Box::new`, `Vec::push`). r? ```@GuillaumeGomez```
2 parents f1d0ce7 + 0182566 commit ce6097d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

library/alloc/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
not(test),
7474
not(any(test, bootstrap)),
7575
any(not(feature = "miri-test-libstd"), test, doctest),
76+
no_global_oom_handling,
7677
target_has_atomic = "ptr"
7778
))
7879
)]

library/core/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
doc(cfg_hide(
6666
not(test),
6767
any(not(feature = "miri-test-libstd"), test, doctest),
68+
no_fp_fmt_parse,
6869
target_pointer_width = "16",
6970
target_pointer_width = "32",
7071
target_pointer_width = "64",

0 commit comments

Comments
 (0)