Skip to content

Commit b776395

Browse files
committed
core: Remove old definition of rt_fail
1 parent 1faa288 commit b776395

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libcore/rt.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ extern mod rustrt {
3333
// FIXME (#2861): This needs both the attribute, and the name prefixed with
3434
// 'rt_', otherwise the compiler won't find it. To fix this, see
3535
// gather_rust_rtcalls.
36-
#[rt(fail)]
37-
fn rt_fail(expr: *c_char, file: *c_char, line: size_t) {
38-
cleanup_stack_for_failure();
39-
rustrt::rust_upcall_fail(expr, file, line);
40-
}
41-
4236
#[rt(fail_)]
4337
fn rt_fail_(expr: *c_char, file: *c_char, line: size_t) {
4438
cleanup_stack_for_failure();

0 commit comments

Comments
 (0)