Add run-wasm workspace member, as used in winit

This makes it easy to run examples with the web backend, in the same way
that winit examples are run.
This commit is contained in:
Ian Douglas Scott 2023-02-20 10:37:25 -08:00
parent 83c0f92dc5
commit 3b9976685c
5 changed files with 22 additions and 0 deletions

View file

@ -50,6 +50,11 @@ For now, the priority for new platforms is:
- Xcb ❌
- Xlib ✅
WebAssembly
-----------
To run an example with the web backend: `cargo run-wasm --example winit`
Example
==
```rust,no_run