mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
cfg-out unused code under no_global_oom_handling
This commit is contained in:
parent
6fae171e54
commit
58f8ed122a
@ -3328,6 +3328,7 @@ impl<T: Default> Default for Arc<T> {
|
||||
struct SliceArcInnerForStatic {
|
||||
inner: ArcInner<[u8; 1]>,
|
||||
}
|
||||
#[cfg(not(no_global_oom_handling))]
|
||||
const MAX_STATIC_INNER_SLICE_ALIGNMENT: usize = 16;
|
||||
|
||||
static STATIC_INNER_SLICE: SliceArcInnerForStatic = SliceArcInnerForStatic {
|
||||
|
Loading…
Reference in New Issue
Block a user