Skip to content

Commit

Permalink
Rollup merge of rust-lang#122878 - newpavlov:patch-2, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Use `arch::wasm::unreachable` instead of `arch::wasm32::unreachable`

Closes rust-lang#122877
  • Loading branch information
matthiaskrgr authored Mar 23, 2024
2 parents 9d1610d + 963844b commit 6ef7a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/unwind/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub unsafe fn _Unwind_RaiseException(exception: *mut _Unwind_Exception) -> _Unwi
wasm_throw(0, exception.cast())
} else {
let _ = exception;
core::arch::wasm32::unreachable()
core::arch::wasm::unreachable()
}
}
}

0 comments on commit 6ef7a67

Please sign in to comment.