Skip to content

Use the Rust release version in build info#634

Merged
ryanfowler merged 1 commit into
mainfrom
use-rust-version-in-buildinfo
May 28, 2026
Merged

Use the Rust release version in build info#634
ryanfowler merged 1 commit into
mainfrom
use-rust-version-in-buildinfo

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Summary

  • Store the compiler version as the plain Rust release number in FETCH_RUSTC_VERSION
  • Keep --buildinfo output compact by showing values like 1.95.0 instead of the full rustc ... banner
  • Update the build-info test to assert the rust field is whitespace-free and no longer includes rustc

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • Focused unit test for build-info JSON passed

@ryanfowler ryanfowler enabled auto-merge May 28, 2026 05:33
@ryanfowler ryanfowler merged commit 0e07329 into main May 28, 2026
4 checks passed
@ryanfowler ryanfowler deleted the use-rust-version-in-buildinfo branch May 28, 2026 05:38
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