Issue #30592: Restore build in --disable-jemalloc mode.

This commit is contained in:
Simon Martin 2015-12-31 18:13:39 +01:00
parent 1586005a1d
commit c5da16012d

View File

@ -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)]