core: Remove old definition of rt_fail

This commit is contained in:
Brian Anderson 2012-09-13 11:49:55 -07:00
parent 1faa288a36
commit b776395263
1 changed files with 0 additions and 6 deletions

View File

@ -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();