Skip to content

Commit 14998f9

Browse files
committed
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]: rust-lang/rust#127173 [2]: rust-lang#802
1 parent 45007cc commit 14998f9

File tree

1 file changed

+8
-7
lines changed
  • builtins-test-intrinsics/src

1 file changed

+8
-7
lines changed

builtins-test-intrinsics/src/main.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -626,13 +626,14 @@ fn run() {
626626

627627
something_with_a_dtor(&|| assert_eq!(bb(1), 1));
628628

629-
extern "C" {
630-
fn rust_begin_unwind(x: usize);
631-
}
632-
633-
unsafe {
634-
rust_begin_unwind(0);
635-
}
629+
// FIXME(#802): This should be re-enabled once a workaround is found.
630+
// extern "C" {
631+
// fn rust_begin_unwind(x: usize);
632+
// }
633+
634+
// unsafe {
635+
// rust_begin_unwind(0);
636+
// }
636637
}
637638

638639
fn something_with_a_dtor(f: &dyn Fn()) {

0 commit comments

Comments
 (0)