about summary refs log tree commit diff
path: root/src/librustrt
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@palantir.com>2014-09-28 19:28:48 -0700
committerSteven Fackler <sfackler@palantir.com>2014-09-28 19:28:48 -0700
commitfa419d3d21659bb7ee4f4236ae9acf6094300174 (patch)
tree34bdb7bbe96c5103249be09cf8e2889b493c9953 /src/librustrt
parentb7aa03a3caab2f15f32dcdb20b23510707ba47f8 (diff)
downloadrust-fa419d3d21659bb7ee4f4236ae9acf6094300174.tar.gz
rust-fa419d3d21659bb7ee4f4236ae9acf6094300174.zip
Register new snapshots
Diffstat (limited to 'src/librustrt')
-rw-r--r--src/librustrt/unwind.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs
index 034ed470c97..20c4e26f4e9 100644
--- a/src/librustrt/unwind.rs
+++ b/src/librustrt/unwind.rs
@@ -488,22 +488,13 @@ pub mod eabi {
 }
 
 // Entry point of failure from the libcore crate
-#[cfg(not(test), not(stage0))]
+#[cfg(not(test))]
 #[lang = "fail_fmt"]
 pub extern fn rust_begin_unwind(msg: &fmt::Arguments,
                                 file: &'static str, line: uint) -> ! {
     begin_unwind_fmt(msg, &(file, line))
 }
 
-//
-// Entry point of failure from the libcore crate
-#[cfg(stage0, not(test))]
-#[lang = "begin_unwind"]
-pub extern fn rust_begin_unwind(msg: &fmt::Arguments,
-                                file: &'static str, line: uint) -> ! {
-    begin_unwind_fmt(msg, &(file, line))
-}
-
 /// The entry point for unwinding with a formatted message.
 ///
 /// This is designed to reduce the amount of code required at the call