-
Notifications
You must be signed in to change notification settings - Fork 610
fix(rust): pin rust to a version available on fedora repo #16449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||
| [components.rust] | ||||||
| # Fedora repo does not have 1.93 which the spec gets pinned to. Snapshot from a | ||||||
| # later version to pickup a later version - 1.94, which is available. | ||||||
| spec = { type = "upstream", upstream-distro = { name = "fedora", version = "43", snapshot = "2026-03-10T00:00:00-08:00" } } | ||||||
| # Fedora repo does not host 1.93, which the spec gets pinned to. Fetch | ||||||
| # spec from a more recent commit to pickup version - 1.94.1. | ||||||
|
||||||
| # spec from a more recent commit to pickup version - 1.94.1. | |
| # spec from a more recent commit to pick up version - 1.94.1. |
Copilot
AI
Apr 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says we were previously pinned to Rust 1.94.0 and are moving to 1.94.1 due to Fedora repo availability, but the in-file comment focuses on 1.93 being unavailable. Please align the comment with the actual motivation (or update the PR description) so future readers understand why this upstream commit pin exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When pinning a component via
spec.upstream-commit, this repo’s guidance expects a reference link (e.g., Fedora dist-git commit URL) and an explicit TODO/exit condition for removing the pin once the default snapshot advances. Please add a comment like other pinned components (e.g., golang) with the Fedora commit URL forb431103e…and when/how to drop the override.