Fix up tests and docs.
This commit is contained in:
parent
bd0cf1ba13
commit
adce670e75
6 changed files with 17 additions and 2 deletions
|
|
@ -20,3 +20,5 @@ pub extern fn bar() {}
|
|||
#[lang = "eh_personality"] fn eh_personality() {}
|
||||
#[lang = "eh_unwind_resume"] fn eh_unwind_resume() {}
|
||||
#[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
|
||||
#[no_mangle] pub extern fn rust_eh_register_frames () {}
|
||||
#[no_mangle] pub extern fn rust_eh_unregister_frames () {}
|
||||
|
|
|
|||
|
|
@ -20,4 +20,5 @@ pub extern fn foo() {}
|
|||
#[lang = "eh_personality"] fn eh_personality() {}
|
||||
#[lang = "eh_unwind_resume"] fn eh_unwind_resume() {}
|
||||
#[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
|
||||
|
||||
#[no_mangle] pub extern fn rust_eh_register_frames () {}
|
||||
#[no_mangle] pub extern fn rust_eh_unregister_frames () {}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ extern "rust-intrinsic" { fn transmute<T, U>(t: T) -> U; }
|
|||
#[lang = "eh_personality"] extern fn eh_personality() {}
|
||||
#[lang = "eh_unwind_resume"] extern fn eh_unwind_resume() {}
|
||||
#[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
|
||||
#[no_mangle] pub extern fn rust_eh_register_frames () {}
|
||||
#[no_mangle] pub extern fn rust_eh_unregister_frames () {}
|
||||
|
||||
#[start]
|
||||
fn main(_: isize, _: *const *const u8) -> isize {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue