Skip to content
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

feat: cli compilation to wasi #159

Merged
merged 21 commits into from
Mar 11, 2023
Merged

feat: cli compilation to wasi #159

merged 21 commits into from
Mar 11, 2023

Conversation

alexander-camuto
Copy link
Collaborator

@alexander-camuto alexander-camuto commented Mar 9, 2023

  • Adds conditional compiles that allow for the wasm32-wasi target that can be run locally sans-browser.
          rustup target add wasm32-wasi
          
          wasm-pack build --bin ezkl --target wasm32-wasi
  • The compiled .wasm file can be run like the normal ezkl cli (just not the EVM related commands), by using wasmtime.
          wasmtime './target/wasm32-wasi/release/ezkl.wasm' -- --help
  • Also adds CI steps for wasm compilation.

Partially addresses #157

@alexander-camuto alexander-camuto marked this pull request as ready for review March 9, 2023 17:41
@alexander-camuto alexander-camuto changed the title feat: cli compilation to wasm feat: cli compilation to wasi Mar 10, 2023
@alexander-camuto alexander-camuto merged commit cd986fe into main Mar 11, 2023
@alexander-camuto alexander-camuto deleted the ac/wasm-verifier branch March 11, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant