Fix liballoc dependencies

This commit is contained in:
John Kåre Alsaker
2016-02-20 17:57:14 +01:00
parent 2d14b39204
commit 8ade080412
3 changed files with 7 additions and 9 deletions

View File

@@ -92,16 +92,9 @@
#![feature(unsafe_no_drop_flag, filling_drop)]
#![feature(unsize)]
// Issue# 30592: Systematically use alloc_system during stage0 since jemalloc
// might be unavailable or disabled
#![cfg_attr(stage0, feature(alloc_system))]
#![cfg_attr(not(test), feature(raw, fn_traits, placement_new_protocol))]
#![cfg_attr(test, feature(test, rustc_private, box_heap))]
#[cfg(stage0)]
extern crate alloc_system;
// Allow testing this library
#[cfg(test)]