-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[rust] Set Rust version to 1.89.0 in WORKSPACE #16368
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
PR Code Suggestions ✨Explore these optional code suggestions:
|
bed718c
to
78e5c61
Compare
User description
🔗 Related Issues
💥 What does this PR do?
This PR set the Rust compiler version to 1.89.0 in WORKSPACE. This will allow us to use the latest features of the Rust language. This PR also contains some smell-fixes only possible with this version.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Update Rust compiler version to 1.89.0 in WORKSPACE
Refactor conditional logic using modern Rust syntax
Replace deprecated method calls with newer alternatives
Switch linker from gold to lld in build configuration
Diagram Walkthrough
File Walkthrough
WORKSPACE
Set Rust version to 1.89.0
WORKSPACE
BUILD
Update linker configuration
common/remote-build/cc/BUILD
downloads.rs
Update iterator method call
rust/src/downloads.rs
last()
withnext_back()
methodlib.rs
Modernize conditional logic with let-chains
rust/src/lib.rs
lock.rs
Refactor lock handling with let-chains
rust/src/lock.rs
main.rs
Modernize error handling syntax
rust/src/main.rs