Skip to content

[ci] Share typed toolchain metadata - #3571

Open
joshlf wants to merge 1 commit into
Gvc5xhb5dgtwxc6zn6aycox7svxcbv3byfrom
Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65
Open

[ci] Share typed toolchain metadata#3571
joshlf wants to merge 1 commit into
Gvc5xhb5dgtwxc6zn6aycox7svxcbv3byfrom
Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65

Conversation

@joshlf

@joshlf joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member

Authored by Codex, posting via joshlf's account

Add the zc repository-tool library with a typed, path-aware reader for
Zerocopy's MSRV, pinned toolchains, and build-script version cfgs.

Use the shared reader in cargo-zerocopy without changing its
command-line or process behavior. Parse the manifest directly because
this bootstrap path must choose a toolchain before it can safely invoke
Cargo.

Document the separate textual Cargo.toml contract which build.rs
consumes. This prevents future metadata work from treating TOML validity
as enough.

Tests: ./ci/check_tools.sh; focused rustfmt; cargo-zerocopy version
lookups.


Latest Update: v4 — Compare vs v3

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v3 v2 v1 Base
v4 vs v3 vs v2 vs v1 vs Base
v3 vs v2 vs v1 vs Base
v2 vs v1 vs Base
v1 vs Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 && git checkout -b pr-Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 FETCH_HEAD

Checkout

git fetch origin refs/heads/Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65

Stacked PRs enabled by GHerrit.

@codecov-commenter

codecov-commenter commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (765e70e) to head (da31221).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by    #3571   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6093     6093           
==================================================================
  Hits                                    5597     5597           
  Misses                                   496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 1355162 to 6ed1263 Compare August 24, 2026 23:09
@joshlf
joshlf force-pushed the Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 branch from 1bae4b8 to b76c6da Compare August 24, 2026 23:09
@joshlf
joshlf force-pushed the Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 branch from b76c6da to d6eb90c Compare August 24, 2026 23:21
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 6ed1263 to 53a0bf8 Compare August 24, 2026 23:21
@joshlf

joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

Please review the current head. Treat any earlier review as stale if it targets
a different commit.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: d6eb90c3e5

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

*Authored by Codex, posting via joshlf's account*

Add the zc repository-tool library with a typed, path-aware reader for
Zerocopy's MSRV, pinned toolchains, and build-script version cfgs.

Use the shared reader in cargo-zerocopy without changing its
command-line or process behavior. Parse the manifest directly because
this bootstrap path must choose a toolchain before it can safely invoke
Cargo.

Document the separate textual Cargo.toml contract which build.rs
consumes. This prevents future metadata work from treating TOML validity
as enough.

Tests: ./ci/check_tools.sh; focused rustfmt; cargo-zerocopy version
lookups.

gherrit-pr-id: Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65
@joshlf
joshlf force-pushed the Gga2afs3rc7lmrmvkzm4wdcmi4lwlyi65 branch from d6eb90c to da31221 Compare August 24, 2026 23:47
@joshlf
joshlf force-pushed the Gvc5xhb5dgtwxc6zn6aycox7svxcbv3by branch from 53a0bf8 to 765e70e Compare August 24, 2026 23:47
@joshlf

joshlf commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: da31221767

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

2 participants