Skip to content

Commit

Permalink
incorporate review
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaBelanger committed May 13, 2024
1 parent b916a1c commit 26cd3ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/web/wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ WebAssembly support for Dart web is available on the Dart
The current version of Dart compilation to WebAssembly has a number of
restrictions:

1. It targets WebAssembly with Garbage Collection ([WasmGC][]), so...
1. It targets WebAssembly with Garbage Collection ([WasmGC][]),
so not all browsers are currently supported.
The current list of browsers is available in the [Flutter documentation][Flutter].

1. The compiled Wasm output currently targets JavaScript environments
(such as browsers), and thus currently doesn't support execution in standard
Expand Down Expand Up @@ -81,12 +83,10 @@ by following the temporary steps outlined here:
1. Serve the output: `dart pub global run dhttpd` ([docs][dhttpd])

You can also try out this small example [here](https://github.com/mit-mit/sandbox).
To learn more about Wasm compilation in Dart, check out the [README][].

[WasmGC]: https://developer.chrome.com/blog/wasmgc/
[Flutter]: {{site.flutter}}/wasm
[`package:web`]: {{site.pub-pkg}}/web
[`dart:js_interop`]: {{site.dart.api}}/{{site.dart.sdk.channel}}/dart-js_interop
[migrated]: /interop/js-interop/package-web/
[dhttpd]: {{site.pub-pkg}}/dhttpd
[README]: {{site.repo.dart.sdk}}/blob/main/pkg/dart2wasm/README.md
[dhttpd]: {{site.pub-pkg}}/dhttpd

0 comments on commit 26cd3ce

Please sign in to comment.