0xMiden / 0xMiden/compiler

The `wat` crate does not support no-std

未关闭
#446 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
frontend wasm
主要语言
Rust
星标
115
派生
84
平均合并
1 天 8 小时
30 天内合并 PR
15

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。