From fa45670ce4c3813e9af0e50a6b61742310fdaa88 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 23 May 2016 22:28:15 -0700 Subject: mk: Prepare for a new stage0 compiler This commit prepares the source for a new stage0 compiler, the 1.10.0 beta compiler. These artifacts are hot off the bots and should be ready to go. --- src/libstd/lib.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/libstd/lib.rs') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 8f41bdf39e9..7114d47e6e8 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -210,6 +210,8 @@ test(no_crate_inject, attr(deny(warnings))), test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))] +#![needs_panic_runtime] + #![feature(alloc)] #![feature(allow_internal_unstable)] #![feature(asm)] @@ -272,6 +274,7 @@ #![feature(zero_one)] #![feature(question_mark)] #![feature(try_from)] +#![feature(needs_panic_runtime)] // Issue# 30592: Systematically use alloc_system during stage0 since jemalloc // might be unavailable or disabled @@ -284,13 +287,6 @@ #![allow(unused_features)] // std may use features in a platform-specific way #![cfg_attr(not(stage0), deny(warnings))] -// FIXME(stage0): after a snapshot, move needs_panic_runtime up above and remove -// this `extern crate` declaration and feature(panic_unwind) -#![cfg_attr(not(stage0), needs_panic_runtime)] -#![cfg_attr(not(stage0), feature(needs_panic_runtime))] -#[cfg(stage0)] -extern crate panic_unwind as __please_just_link_me_dont_reference_me; - #[cfg(test)] extern crate test; // We want to reexport a few macros from core but libcore has already been -- cgit 1.4.1-3-g733a5