Fix up intrinsic implementation

This commit is contained in:
Aaron Hill
2019-10-29 17:31:54 -04:00
parent caf3cc1fc8
commit fe88fc03c5
4 changed files with 21 additions and 3 deletions

View File

@@ -1352,7 +1352,7 @@ extern "rust-intrinsic" {
/// Internal hook used by Miri to implement unwinding.
/// Perma-unstable: do not use
#[cfg(not(bootstrap))]
pub fn miri_start_panic(data: *mut (dyn crate::any::Any + Send)) -> !;
pub fn miri_start_panic(data: u128) -> !;
}
// Some functions are defined here because they accidentally got made