Skip to content

Commit

Permalink
Better wasm support (#766)
Browse files Browse the repository at this point in the history
* Run a cargo update and add test for new wasm target

* Add new target

* - Revert changes for SignedExtra
- cargo update
  • Loading branch information
Niederb authored Apr 29, 2024
1 parent 3b84f38 commit 96f892d
Show file tree
Hide file tree
Showing 4 changed files with 675 additions and 1,217 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
# Test for 32 bit and wasm32-unknown-unknown compatibility
cargo build --target wasm32-unknown-unknown --no-default-features --features sync-api,

# Test for 32 bit and wasm32-wasip1 compatibility
cargo build --target wasm32-wasip1 --no-default-features --features std --features staking-xt --features contracts-xt --features sync-api,

# Compile examples and integration test separately to ensure features are not cross-imported
cargo test --release -p ac-examples-async,
cargo test --release -p ac-examples-sync,
Expand Down
Loading

0 comments on commit 96f892d

Please sign in to comment.