0xMiden / 0xMiden/compiler

The `wat` crate does not support no-std

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

Descripción

In order to build the compiler for no-std environments, none of our crates, nor their dependencies can depend on libstd, unless gated behind a Cargo feature.

Currently, we have a few dependencies on crates which do not support no-std, but which cannot be gated as they are part of the core compiler pipeline. `wat` is one of these, and is used to parse WebAssembly module/component binaries, and would be necessary to compile the outputs from `rustc` that we expect.

We'll need to figure out a solution here, I'm not sure if there is a good one, aside from trying to upstream no-std support, or forking `wat`/`wast` and implementing it ourselves.

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.