mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Improve web example (#2115)
* Improve web example * Implement basic logger into the example webpage * Repace bash script with xtask * replace wasm-bindgen-cli with wasm-bindgen-cli-support * refactor * Move logic into external crate. * Remove CI changes * Review feedback
This commit is contained in:
@@ -71,6 +71,8 @@ Winit provides the following features, which can be enabled in your `Cargo.toml`
|
||||
|
||||
#### WebAssembly
|
||||
|
||||
To run the web example: `cargo run-wasm --example web`
|
||||
|
||||
Winit supports compiling to the `wasm32-unknown-unknown` target with `web-sys`.
|
||||
|
||||
On the web platform, a Winit window is backed by a `<canvas>` element. You can
|
||||
|
||||
Reference in New Issue
Block a user