Support reproducible Wave artifacts across source and build directory locations

オープン
#182 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@LunaStev がすでに取り組んでいます。

2026年11月2日 から。

評価

この issue はまだ評価されていません。

説明

Planned for v0.0.3-beta; reviewed against master cd13f1d9c244cfdb207f38412db6c513bd5fd543.

Vex fingerprints local inputs for safe reuse, but cache correctness is separate from producing identical distributable bytes in different directories. Whale needs portable module artifacts and provenance from independent builds.

Acceptance:

  • Define typed reproducibility/path-remapping settings backed by verified wavec capabilities. Document which fields are supported and reject unsupported settings before compilation.
  • Apply settings consistently to sources, generated/intermediate paths and debug/source paths where supported; retain usable diagnostics and local dependency files.
  • Keep portable provenance free of accidental source/build/cache-home paths. Local depfiles and diagnostic paths may remain absolute under their own contracts.
  • Include effective settings, compiler/std identity, target/profile/features and relevant tool identity in freshness/results. Cache keys need not be identical across directories.
  • Build the same fixture from two separate source and build roots and compare complete artifact bytes and portable records, including paths containing spaces/Unicode.
  • Explain remaining external linker/SDK/archive inputs; fail or report unsupported reproducibility guarantees instead of treating one matching hash as universal host support.

This extends #48/#59/#70. Wave compiler functionality missing from its public contract must be tracked as an explicit prerequisite, not emulated with unvalidated flags. Static-archive determinism belongs with the archive-output issue.

Starting points: profiles, invocation, freshness.

Integration dependencies: #181.

主要言語
Rust
スター
1
フォーク
3
平均マージ
23時間 3分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wavefnd/Vex のほかの issue

wavefnd/Vex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。