about summary refs log tree commit diff
path: root/src/libcore/rt.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-13 11:49:55 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-13 11:49:55 -0700
commitb776395263bfc9908d8fec80d7d1d0f67b8490e8 (patch)
tree6d89e5d10d110a5faf38a6c6202b9579d042b83b /src/libcore/rt.rs
parent1faa288a362e781b77527f2dd59193be605286f0 (diff)
downloadrust-b776395263bfc9908d8fec80d7d1d0f67b8490e8.tar.gz
rust-b776395263bfc9908d8fec80d7d1d0f67b8490e8.zip
core: Remove old definition of rt_fail
Diffstat (limited to 'src/libcore/rt.rs')
-rw-r--r--src/libcore/rt.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcore/rt.rs b/src/libcore/rt.rs
index 4ec6accf634..f303c22ab42 100644
--- a/src/libcore/rt.rs
+++ b/src/libcore/rt.rs
@@ -33,12 +33,6 @@ extern mod rustrt {
 // FIXME (#2861): This needs both the attribute, and the name prefixed with
 // 'rt_', otherwise the compiler won't find it. To fix this, see
 // gather_rust_rtcalls.
-#[rt(fail)]
-fn rt_fail(expr: *c_char, file: *c_char, line: size_t) {
-    cleanup_stack_for_failure();
-    rustrt::rust_upcall_fail(expr, file, line);
-}
-
 #[rt(fail_)]
 fn rt_fail_(expr: *c_char, file: *c_char, line: size_t) {
     cleanup_stack_for_failure();