diff --git a/examples/hello/README.md b/examples/hello/README.md index 5e0b889..ed86728 100644 --- a/examples/hello/README.md +++ b/examples/hello/README.md @@ -21,9 +21,9 @@ cargo run --features=window-sdl2 To run with web-sys: ```shell -cargo +nightly build --target wasm32-unknown-unknown +cargo build --target wasm32-unknown-unknown mkdir -p generated -wasm-bindgen ../../target/wasm32-unknown-unknown/debug/hello.wasm --out-dir generated --no-modules +wasm-bindgen ../../target/wasm32-unknown-unknown/debug/hello.wasm --out-dir generated --target web cp index.html generated ``` diff --git a/examples/hello/index.html b/examples/hello/index.html index 4e1f773..b8671f0 100644 --- a/examples/hello/index.html +++ b/examples/hello/index.html @@ -5,10 +5,10 @@
-