Skip to content

Commit

Permalink
Merge pull request #18 from ChainSafe/ec2/native-and-wasm
Browse files Browse the repository at this point in the history
Enable Running test on WASM and Native
  • Loading branch information
willemolding authored Sep 12, 2024
2 parents 93c0569 + d3b908b commit 442c1f6
Show file tree
Hide file tree
Showing 8 changed files with 795 additions and 352 deletions.
11 changes: 7 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[target.wasm32-unknown-unknown]
rustflags = ["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals"]

[unstable]
build-std = ["panic_abort", "std"]
# These are commented out and instead set in the justfile because we can't enable per-target unstable
# features which are needed for WASM but not compatible with native builds.

[build]
target = "wasm32-unknown-unknown"
# [unstable]
# build-std = ["panic_abort", "std"]

# [build]
# target = "wasm32-unknown-unknown"
Loading

0 comments on commit 442c1f6

Please sign in to comment.