about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-07-23 13:07:21 +0200
committerRalf Jung <post@ralfj.de>2020-07-23 13:15:50 +0200
commit1b446cdbf03d26f31f6113a4ccb2e011f3a9abf1 (patch)
tree3c75314247bf55308b87e067b3f061c8c00c1518 /src/libcore
parent2bbfa02b1b15974d5772b520aa027bf79f8c248e (diff)
replace miri_start_panic intrinsic by 'extern fn'
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/intrinsics.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs
index 1af4f1009d1..71780361d29 100644
--- a/src/libcore/intrinsics.rs
+++ b/src/libcore/intrinsics.rs
@@ -1947,14 +1947,6 @@ extern "rust-intrinsic" {
     #[rustc_const_unstable(feature = "const_ptr_offset_from", issue = "41079")]
     pub fn ptr_offset_from<T>(ptr: *const T, base: *const T) -> isize;
 
-    /// Internal hook used by Miri to implement unwinding.
-    /// ICEs when encountered during non-Miri codegen.
-    ///
-    /// The `payload` ptr here will be exactly the one `do_catch` gets passed by `try`.
-    ///
-    /// Perma-unstable: do not use.
-    pub fn miri_start_panic(payload: *mut u8) -> !;
-
     /// Internal placeholder for injecting code coverage counters when the "instrument-coverage"
     /// option is enabled. The placeholder is replaced with `llvm.instrprof.increment` during code
     /// generation.