mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 16:15:20 +00:00
Rollup merge of #89668 - Urgau:core-cfg-hide, r=GuillaumeGomez
Cfg hide more conditions for core and alloc Fixes https://github.com/rust-lang/rust/issues/89663 Before:  After:  *Same for alloc* r? ``@GuillaumeGomez``
This commit is contained in:
@@ -69,7 +69,12 @@
|
||||
)]
|
||||
#![cfg_attr(
|
||||
not(bootstrap),
|
||||
doc(cfg_hide(not(test), not(any(test, bootstrap)), target_has_atomic = "ptr"))
|
||||
doc(cfg_hide(
|
||||
not(test),
|
||||
not(any(test, bootstrap)),
|
||||
any(not(feature = "miri-test-libstd"), test, doctest),
|
||||
target_has_atomic = "ptr"
|
||||
))
|
||||
)]
|
||||
#![no_std]
|
||||
#![needs_allocator]
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
not(bootstrap),
|
||||
doc(cfg_hide(
|
||||
not(test),
|
||||
any(not(feature = "miri-test-libstd"), test, doctest),
|
||||
target_pointer_width = "16",
|
||||
target_pointer_width = "32",
|
||||
target_pointer_width = "64",
|
||||
|
||||
Reference in New Issue
Block a user