Skip to content

Commit

Permalink
Merge pull request #181: WASM support
Browse files Browse the repository at this point in the history
  • Loading branch information
piegamesde authored Feb 9, 2023
2 parents 9694640 + 485bf19 commit 10e167c
Show file tree
Hide file tree
Showing 12 changed files with 1,011 additions and 588 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- ubuntu-latest
- windows-latest
rust:
- 1.61.0 # MSRV (also change in Cargo.toml)
- 1.66.0 # MSRV (also change in Cargo.toml)
- stable
- nightly
steps:
Expand All @@ -66,6 +66,7 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
target: wasm32-unknown-unknown
- name: Cache ~/.cargo
uses: actions/cache@v1
with:
Expand Down Expand Up @@ -101,6 +102,11 @@ jobs:
with:
command: build
args: --all-targets
- name: build WASM
uses: actions-rs/cargo@v1
with:
command: build
args: --target wasm32-unknown-unknown --no-default-features --package magic-wormhole --features transit --features transfer
- name: test
uses: actions-rs/cargo@v1
with:
Expand Down
Loading

0 comments on commit 10e167c

Please sign in to comment.