Skip to content

Commit

Permalink
Merge pull request #5 from rainlanguage/2024-07-31-support-wasm-build
Browse files Browse the repository at this point in the history
support wasm build
  • Loading branch information
rouzwelt authored Jul 31, 2024
2 parents cc9d7c3 + a251b07 commit 7f50b2c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/rainix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ jobs:
run: nix develop -c rainix-rs-prelude

- name: Run Command ${{ matrix.task }}
run: nix develop -c ${{ matrix.task }}
run: nix develop -c ${{ matrix.task }}

- name: Build for wasm target
run: nix develop -c cargo build --target wasm32-unknown-unknown
6 changes: 4 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/rainlanguage/rain.erc"
thiserror = "1.0.56"
alloy-primitives = "0.6.3"
alloy-sol-types = { version = "0.6.3", features = ["json"] }
alloy-ethers-typecast = { git = "https://github.com/rainlanguage/alloy-ethers-typecast", rev = "cbdedb77fb1994a18ceb47e72786f8b32b670669" }
alloy-ethers-typecast = { git = "https://github.com/rainlanguage/alloy-ethers-typecast", rev = "d9bd0fe8360d803ed3e58b34063890c8775999f2" }

[dev-dependencies]
tokio = { version = "1.28.0", features = ["full"] }
Expand Down

0 comments on commit 7f50b2c

Please sign in to comment.