Skip to content

impl(rust): skip semver checks for proc-macro crates - #7733

Merged
dbolduc merged 2 commits into
googleapis:mainfrom
dbolduc:rust-release-proc-macro-semver
Sep 29, 2026
Merged

dbolduc merged 2 commits into
googleapis:mainfrom
dbolduc:rust-release-proc-macro-semver

Conversation

@dbolduc

@dbolduc dbolduc commented Sep 29, 2026

Copy link
Copy Markdown
Member

Fixes #7732 and unblocks the rust release.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a check to skip semver validation for Rust procedural macro crates, which do not export a standard library API surface for cargo-semver-checks to inspect. It updates the manifest parsing to detect the proc-macro setting and adds corresponding tests. The feedback suggests simplifying boolean assertions in the new tests by using direct comparison instead of cmp.Diff.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Darren Bolduc <[email protected]>
@dbolduc
dbolduc marked this pull request as ready for review September 29, 2026 21:42
@dbolduc
dbolduc requested a review from a team as a code owner September 29, 2026 21:42
@dbolduc
dbolduc merged commit 3cd1be3 into googleapis:main Sep 29, 2026
47 of 48 checks passed
@dbolduc
dbolduc deleted the rust-release-proc-macro-semver branch September 29, 2026 22:02
dbolduc added a commit to googleapis/google-cloud-rust that referenced this pull request Sep 30, 2026
To pick up googleapis/librarian#7733

The release commands use the librarian version from `librarian.yaml`.
While we could go off script, I think I'd rather update librarian and
then run commands exactly as is.
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.

Rust release: skip semver-checks for proc-macro crates

2 participants