Issue #30592: Restore build in --disable-jemalloc mode.
This commit is contained in:
parent
1586005a1d
commit
c5da16012d
@ -95,8 +95,15 @@
|
||||
|
||||
#![feature(needs_allocator)]
|
||||
|
||||
// Issue# 30592: Systematically use alloc_system during stage0 since jemalloc
|
||||
// might be unavailable or disabled
|
||||
#![cfg_attr(stage0, feature(alloc_system))]
|
||||
|
||||
#![cfg_attr(test, feature(test, rustc_private, box_heap))]
|
||||
|
||||
#[cfg(stage0)]
|
||||
extern crate alloc_system;
|
||||
|
||||
// Allow testing this library
|
||||
|
||||
#[cfg(test)]
|
||||
|
Loading…
Reference in New Issue
Block a user