0xMiden / 0xMiden/compiler

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

Abierto
#566 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
115
Forks
84
Merge medio
1 d 8 h
PR fusionados (30 d)
15

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.