Skip to content

Commit

Permalink
Add new Emscripten EH to the supported target list
Browse files Browse the repository at this point in the history
  • Loading branch information
purplesyringa committed Jan 17, 2025
1 parent 5b9fbbe commit c968361
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
//!
//! On nightly Rust, Lithium uses a custom mechanism on the following targets:
//!
//! |Target |Implementation|Performance |`no_std` support|
//! |-------------------|--------------|---------------------------------------------|----------------|
//! |Linux, macOS |Itanium EH ABI|2.5x faster than panics |Yes |
//! |Windows (MSVC ABI) |SEH |1.5x faster than panics |Yes |
//! |Windows (GNU ABI) |Itanium EH ABI|2.5x faster than panics, but slower than MSVC|No |
//! |Emscripten |C++ exceptions|2x faster than panics |Yes |
//! |WASI |Itanium EH ABI|2.5x faster than panics |Yes |
//! |Target |Implementation |Performance |`no_std` support|
//! |-------------------|---------------|---------------------------------------------|----------------|
//! |Linux, macOS |Itanium EH ABI |2.5x faster than panics |Yes |
//! |Windows (MSVC ABI) |SEH |1.5x faster than panics |Yes |
//! |Windows (GNU ABI) |Itanium EH ABI |2.5x faster than panics, but slower than MSVC|No |
//! |Emscripten (old EH)|C++ exceptions |2x faster than panics |Yes |
//! |Emscripten (new EH)|Wasm exceptions|2.5x faster than panics |Yes |
//! |WASI |Itanium EH ABI |2.5x faster than panics |Yes |
//!
//! Lithium strives to support all targets that Rust panics support. If Lithium does not work
//! correctly on such a target, please open an issue.
Expand Down

0 comments on commit c968361

Please sign in to comment.