Abort on panic, fix 32-bit Windows undefined reference

This commit is contained in:
Luke Parker 2024-05-26 04:27:50 -04:00 committed by j-berman
parent 8eb3f29e68
commit da9f101703
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,8 @@ crypto-bigint = { git = "https://github.com/kayabaNerve/crypto-bigint", branch =
[profile.dev]
lto = "off"
panic = "abort"
[profile.release]
lto = "off"
panic = "abort"

View File

@ -241,3 +241,7 @@ pub extern "C" fn hash_trim_selene(
)
}
}
// https://github.com/rust-lang/rust/issues/79609
#[no_mangle]
pub extern "C" fn _Unwind_Resume() {}