0xMiden / 0xMiden/compiler

Consider using `wasm32-wasip2` target to build pure Rust programs

Open
#566 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
115
Forks
84
Avg merge
1d 8h
Merged PRs (30d)
15

Description

Now we are using `wasm32-wasip1` target to build pure Rust programs in `cargo-miden`. The frontend "wraps" the translated core Wasm module in the synthetic IR component.

Consider adding support in the frontend for pure Rust programs to be compiled as Wasm components ('wasm32-wasip2') for the following reasons:

- To unify the pure Rust program and rollup code handling in the frontend;
- Eventually `wasm32-wasip1` will be sunsetted, and we would need to switch to `wasm32-wasip2` anyway.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.