0xMiden / 0xMiden/compiler

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

Aperta
#566 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
115
Fork
84
Merge medio
1g 8h
PR unite (30g)
15

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.