Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed May 9, 2024
1 parent 30f8b19 commit 6e0206a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
toolchain: 1.73.0
toolchain: 1.78.0
- name: install wasm-bindgen-cli
run: |
cargo install wasm-bindgen-cli --version 0.2.87
cargo install wasm-bindgen-cli --version 0.2.92
- name: Build
run: |
cargo build --release --target wasm32-unknown-unknown
- name: Prepare package
run: |
wasm-bindgen --no-typescript --out-name Simulation --out-dir wasm --target web target/wasm32-unknown-unknown/release/${{ env.binary }}.wasm
wasm-bindgen --no-typescript --out-name Flower --out-dir wasm --target web target/wasm32-unknown-unknown/release/${{ env.binary }}.wasm
cp -r assets wasm/
- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
5 changes: 2 additions & 3 deletions wasm/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ body, html {
}

canvas {
display: block;
width: 100vw;
height: 100vh;
width: 100%;
height: 100%;
}

0 comments on commit 6e0206a

Please sign in to comment.