diff options
| author | Ralf Jung <post@ralfj.de> | 2024-02-25 18:51:22 +0100 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-02-26 11:10:18 +0100 | 
| commit | b4ca582b8986c36d23726dc292c41b06fe7f9c6b (patch) | |
| tree | c20176a516e3ac88eb7e65b6c9a03d4721edc2ca /tests/assembly/wasm_exceptions.rs | |
| parent | e9f95949138125bb1b98ed213a41b9aa825bacf5 (diff) | |
| download | rust-b4ca582b8986c36d23726dc292c41b06fe7f9c6b.tar.gz rust-b4ca582b8986c36d23726dc292c41b06fe7f9c6b.zip | |
rename 'try' intrinsic to 'catch_unwind'
Diffstat (limited to 'tests/assembly/wasm_exceptions.rs')
| -rw-r--r-- | tests/assembly/wasm_exceptions.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/assembly/wasm_exceptions.rs b/tests/assembly/wasm_exceptions.rs index 2ca62a78688..45df444dca4 100644 --- a/tests/assembly/wasm_exceptions.rs +++ b/tests/assembly/wasm_exceptions.rs @@ -41,7 +41,7 @@ pub fn test_cleanup() { #[no_mangle] pub fn test_rtry() { unsafe { - core::intrinsics::r#try(|_| { + core::intrinsics::catch_unwind(|_| { may_panic(); }, core::ptr::null_mut(), |data, exception| { log_number(data as usize); | 
