Skip to content

Commit dca8c0a

Browse files
bashorzamulla
andauthored
Wasm Docs: explicitly refer to legacy exception handling proposal to avoid misinterpretation
Co-authored-by: Aleksey Zamulla <[email protected]>
1 parent ecf8c73 commit dca8c0a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/topics/wasm/wasm-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Kotlin/Wasm as its compilation target. Applications built with Kotlin/Wasm and C
3939
![Kotlin/Wasm demo](wasm-demo.png){width=700}
4040

4141
> To run applications built with Kotlin/Wasm in a browser, you need a browser version that supports the new garbage collection
42-
> and exception handling proposals. To check the browser support status, see the [WebAssembly
42+
> and legacy exception handling proposals. To check the browser support status, see the [WebAssembly
4343
> roadmap](https://webassembly.org/roadmap/).
4444
>
4545
{style="tip"}

docs/topics/wasm/wasm-troubleshooting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Including Chromium-based browsers such as Edge, Brave, Opera, or Samsung Interne
8181
## Wasm proposals support
8282

8383
Kotlin/Wasm improvements are based on [WebAssembly proposals](https://webassembly.org/roadmap/). Here you can find details about the support for WebAssembly's
84-
garbage collection and exception handling proposals.
84+
garbage collection and (legacy) exception handling proposals.
8585

8686
### Garbage collection proposal
8787

@@ -91,6 +91,8 @@ For this reason, we strongly recommend that you update your Wasm projects to the
9191

9292
### Exception handling proposal
9393

94+
The Kotlin toolchain uses the [legacy exception handling proposal](https://github.com/WebAssembly/exception-handling/blob/master/proposals/exception-handling/legacy/Exceptions.md) by default which allows running produced Wasm binaries in wider range of environments.
95+
9496
Since Kotlin 2.0.0, we have introduced support for the new version of Wasm [exception handling proposal](https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md) within Kotlin/Wasm.
9597

9698
This update ensures the new exception handling proposal aligns with Kotlin requirements, enabling the use of Kotlin/Wasm on virtual machines that only support the latest version of the proposal.

0 commit comments

Comments
 (0)