-
Notifications
You must be signed in to change notification settings - Fork 19
rust: Update toolchain and dependencies #156
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
base: main
Are you sure you want to change the base?
Conversation
- rules_rust 0.56.0 -> 0.67.0 - rust.toolchain edition 2021 -> 2024, version 1.85.0 -> 1.90.0 - rust_qnx8_toolchain 1.0.0 -> 1.2.0 Needs backward compatible fix for ref handling.
a49302e to
b347b00
Compare
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
| type Error = String; | ||
| fn try_from(value: &KvsValue) -> Result<Self, Self::Error> { | ||
| if let KvsValue::$variant(ref n) = value { | ||
| if let KvsValue::$variant(n) = value { |
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.
Why change is needed?
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 old version silently allows redundant ref definitions where the new version explicitly rejects them
error: binding modifiers may only be written when the default binding mode is `move`
--> src/rust/rust_kvs/src/kvs_value.rs:93:43
|
93 | if let KvsValue::$variant(ref n) = value {
| ^^^^^ occurs within macro expansion
...
so the usage without ref would have been correct before already.
| versions = ["1.90.0"], | ||
| ) | ||
|
|
||
| # ToDo: Official release needed, documentaion on usage of rust toolchains missing |
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.
Create an issue for that, this TODO doesn't seem relevant to persistency.
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.
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.
Even with the ticket I still don't fully grasp the topic here: official release of what, and why is lack of documentation a TODO inside Persistency Bazel files?
| versions = ["1.90.0"], | ||
| ) | ||
|
|
||
| # ToDo: Official release needed, documentaion on usage of rust toolchains missing |
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.
Even with the ticket I still don't fully grasp the topic here: official release of what, and why is lack of documentation a TODO inside Persistency Bazel files?
Needs backward compatible fix for ref handling.