about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-03-19 04:02:54 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-03-18 23:10:02 -0500
commit3167cbb6d01e247ca679712fd923c7cfbc45d7fc (patch)
tree5bcf777e54e8fe2a8d380cf51a24d50b8cfb7f56 /library
parent014f530f76917d21882be755571c58912a6ea409 (diff)
downloadrust-3167cbb6d01e247ca679712fd923c7cfbc45d7fc.tar.gz
rust-3167cbb6d01e247ca679712fd923c7cfbc45d7fc.zip
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
Diffstat (limited to 'library')
-rw-r--r--library/compiler-builtins/builtins-test-intrinsics/src/main.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/library/compiler-builtins/builtins-test-intrinsics/src/main.rs b/library/compiler-builtins/builtins-test-intrinsics/src/main.rs
index e90cfb33dea..21d0a083c71 100644
--- a/library/compiler-builtins/builtins-test-intrinsics/src/main.rs
+++ b/library/compiler-builtins/builtins-test-intrinsics/src/main.rs
@@ -626,13 +626,14 @@ fn run() {
 
     something_with_a_dtor(&|| assert_eq!(bb(1), 1));
 
-    extern "C" {
-        fn rust_begin_unwind(x: usize);
-    }
-
-    unsafe {
-        rust_begin_unwind(0);
-    }
+    // 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);
+    // }
 }
 
 fn something_with_a_dtor(f: &dyn Fn()) {