Skip to content

Commit

Permalink
Replace run-wasm-example.sh with aliased rust crate (xtask)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Jan 3, 2022
1 parent 55cbbde commit bceab5d
Show file tree
Hide file tree
Showing 10 changed files with 411 additions and 67 deletions.
7 changes: 7 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[alias]
run-wasm = "run --release --package run-wasm --"

[build]
rustflags = [
"--cfg=web_sys_unstable_apis"
]
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ jobs:
- name: disable debug
shell: bash
run: |
mkdir .cargo
echo """[profile.dev]
debug = 1" > .cargo/config.toml
mkdir -p .cargo
echo """\n[profile.dev]
debug = 1" >> .cargo/config.toml
- name: check web
if: matrix.kind == 'web'
Expand Down
Loading

0 comments on commit bceab5d

Please sign in to comment.