diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-09-18 10:48:18 -0400 | 
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2025-09-21 13:12:20 -0400 | 
| commit | df58fd8cf7710f7516c541769a141f0235978dab (patch) | |
| tree | 01fb95a4eb0082b53f0e0f833d8a2fd507b54385 /library/alloc/src/alloc.rs | |
| parent | 888679013d1f424adef06267f3630069b4cabd40 (diff) | |
| download | rust-df58fd8cf7710f7516c541769a141f0235978dab.tar.gz rust-df58fd8cf7710f7516c541769a141f0235978dab.zip | |
Change the cfg to a dash
Diffstat (limited to 'library/alloc/src/alloc.rs')
| -rw-r--r-- | library/alloc/src/alloc.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs index 304b473f14d..65c8206e9d4 100644 --- a/library/alloc/src/alloc.rs +++ b/library/alloc/src/alloc.rs @@ -408,12 +408,12 @@ pub const fn handle_alloc_error(layout: Layout) -> ! { } } - #[cfg(not(panic = "immediate_abort"))] + #[cfg(not(panic = "immediate-abort"))] { core::intrinsics::const_eval_select((layout,), ct_error, rt_error) } - #[cfg(panic = "immediate_abort")] + #[cfg(panic = "immediate-abort")] ct_error(layout) } | 
