0xMiden / 0xMiden/compiler

The `wat` crate does not support no-std

Offen
#446 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
frontend wasm
Vorherrschende Sprache
Rust
Sterne
115
Forks
84
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
15

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.