Skip to content

Make Windows host builds reproducible - #88

Merged
wolfiesch merged 1 commit into
mainfrom
fix/windows-reproducible-host
Oct 27, 2026
Merged

wolfiesch merged 1 commit into
mainfrom
fix/windows-reproducible-host

Conversation

@wolfiesch

Copy link
Copy Markdown
Owner

The release workflow builds the host twice and compares the results.
For x86_64-pc-windows-msvc the two builds differed at byte 257, the PE
header timestamp the MSVC linker writes at link time, so the v2.0.0-rc.1
release run failed before signing.

Link Windows MSVC targets with /Brepro through a root .cargo/config.toml,
which every workflow picks up because cargo runs from the repository root.

Verified on Windows 11 with VS 2022 Build Tools using the release
workflow's build, clean, rebuild, and cmp steps: main differs at byte
257; with this change, two separate runs both produce identical
binaries with the same SHA-256.

The release workflow builds the host twice and compares the results.
For x86_64-pc-windows-msvc the two builds differed at byte 257, the PE
header timestamp the MSVC linker writes at link time, so the v2.0.0-rc.1
release run failed before signing.

Link Windows MSVC targets with /Brepro through a root .cargo/config.toml,
which every workflow picks up because cargo runs from the repository root.

Verified on Windows 11 with VS 2022 Build Tools using the release
workflow's build, clean, rebuild, and cmp steps: main differs at byte
257; with this change, two separate runs both produce identical
binaries with the same SHA-256.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T09:55:27.777468Z ec97861 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@wolfiesch
wolfiesch merged commit 3a20707 into main Oct 27, 2026
9 checks passed
@wolfiesch
wolfiesch deleted the fix/windows-reproducible-host branch October 27, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant