Temporarily disable the test call to rust_begin_unwind
Since [1] this symbol is mangled, meaning it is not easy to call directly. A better fix will come in [2] but for now, just disable that portion of the test. [1]: https://github.com/rust-lang/rust/pull/127173 [2]: https://github.com/rust-lang/compiler-builtins/pull/802
This commit is contained in:
parent
014f530f76
commit
3167cbb6d0
1 changed files with 7 additions and 6 deletions
|
|
@ -626,13 +626,14 @@ fn run() {
|
|||
|
||||
something_with_a_dtor(&|| assert_eq!(bb(1), 1));
|
||||
|
||||
extern "C" {
|
||||
fn rust_begin_unwind(x: usize);
|
||||
}
|
||||
// FIXME(#802): This should be re-enabled once a workaround is found.
|
||||
// extern "C" {
|
||||
// fn rust_begin_unwind(x: usize);
|
||||
// }
|
||||
|
||||
unsafe {
|
||||
rust_begin_unwind(0);
|
||||
}
|
||||
// unsafe {
|
||||
// rust_begin_unwind(0);
|
||||
// }
|
||||
}
|
||||
|
||||
fn something_with_a_dtor(f: &dyn Fn()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue