diff options
| author | Zachary S <zasample18+github@gmail.com> | 2024-05-19 13:22:34 -0500 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2024-05-19 13:27:17 -0500 |
| commit | 58f8ed122ab649c87c6d4c5585d9c8476d87d338 (patch) | |
| tree | 44beb694ed66c9d52f380de123df3b2e96f8b8a7 | |
| parent | 6fae171e54adb0985a6ee131d4b89012856e7cd9 (diff) | |
| download | rust-58f8ed122ab649c87c6d4c5585d9c8476d87d338.tar.gz rust-58f8ed122ab649c87c6d4c5585d9c8476d87d338.zip | |
cfg-out unused code under no_global_oom_handling
| -rw-r--r-- | library/alloc/src/sync.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index 62c622890b5..2b338a1d647 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -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 { |
