core: Remove old definition of rt_fail
This commit is contained in:
parent
1faa288a36
commit
b776395263
1 changed files with 0 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue