Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Request for reproducible build

未关闭
#153 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
rust, wasm
领域
build-system, cli

调研方向

先阅读 Wizer CLI 和 builder 的入口点;该 issue 没有指定具体的文件或测试。确定在所述的 Mac 和 Linux 情况下,对于相同输入的预期可复现性行为,然后添加测试覆盖,以表明新选项会产生匹配的输出。

由索引模型根据 Issue 内容生成。

描述

We use Wizer via Javy to compile their TS to WASM. Our customers need to prove their WASM builds, similar to what's done on blockchains. Today, Go customers can do so because Go has reproducible builds, but our TS customers will still need to use Docker because Wizer doesn't offer reproducible builds for the same input.

My ask is to add a flag to the CLI and a the builder that enables reproducible output from Wizer.

Claude suggested

smallest_gaps.sort_unstable_by_key(|g| g.gap); could be replaced with smallest_gaps.sort_by(|a, b| a.gap.cmp(&b.gap).then(a.index.cmp(&b.index)));, but that alone didn't suffice. Running on a Mac M2 and a Linux Docker image on my Mac still produced different binaries (Linux x64 had the same as Linux Arm when I specified a platform). The binaries even had different sizes.

In our case, the Javy plugin itself is compiled in a Docker, since Rust isn't deterministic, but it would be good if that could be verified once, then our customer code verified to use that plugin without requiring a Docker.

主要语言
Rust
星标
1.1k
派生
64
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bytecodealliance/wizer 的其他 Issue

查看 bytecodealliance/wizer 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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