Skip to content

Fix wasm32 build #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop-polybase
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zkevm-circuits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#![deny(clippy::debug_assert_with_mut_call)]
// We have too many cast between `usize` and `u64`,
// we'd better ensure usize is 64-bit on target arch.
#[cfg(not(target_pointer_width = "64"))]
#[cfg(all(not(target_pointer_width = "64"), not(target_arch = "wasm32")))]
compile_error!("This program requires a 64-bit target architecture.");

pub mod bytecode_circuit;
Expand Down
2 changes: 1 addition & 1 deletion zktrie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license.workspace = true
[dependencies]
halo2_proofs.workspace = true
mpt-circuits = { package = "halo2-mpt-circuits", git = "https://github.com/scroll-tech/mpt-circuit.git", tag = "v0.7.0" }
zktrie = { git = "https://github.com/polybase/zktrie/", branch = "bypass-builds-on-android-and-ios"}
zktrie = { git = "https://github.com/polybase/zktrie/", branch = "develop-polybase"}
hash-circuit.workspace = true
eth-types = { path = "../eth-types" }
lazy_static.workspace = true
Expand Down