Compare commits

..

No commits in common. '51bc5113b5c5d6356470cdd072bf05c8fb9befc0' and '247895452c087f2569b79b0a6859bc616da57a12' have entirely different histories.

@ -1,6 +1,6 @@
[package]
name = "stackalloc"
version = "1.2.1"
version = "1.2.0"
homepage = "https://git.flanchan.moe/flanchan/stackalloc-rs"
repository = "https://github.com/notflan/stackalloc-rs"
keywords = ["alloca", "stack", "stack-allocation", "safe"]

@ -252,7 +252,7 @@ unsafe fn catch_unwind<R, F: FnOnce() -> R>(f: F) -> Result<R, ()>{
let data_ptr = &mut data as *mut _ as *mut u8;
if core::intrinsics::catch_unwind(do_call::<F, R>, data_ptr, do_catch::<F, R>) == 0{
if core::intrinsics::r#try(do_call::<F, R>, data_ptr, do_catch::<F, R>) == 0{
Result::Ok(ManuallyDrop::into_inner(data.r))
}else{
Result::Err(())

Loading…
Cancel
Save