-
Notifications
You must be signed in to change notification settings - Fork 177
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
Bump to Rust 1.78 #1205
Bump to Rust 1.78 #1205
Conversation
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.
Just a small request to remove the dead code you identified, otherwise this looks good.
@@ -129,7 +129,7 @@ impl WasmInstanceEnv { | |||
/// Signal to this `WasmInstanceEnv` that a reducer call is beginning. | |||
pub fn start_reducer(&mut self, name: &str) { | |||
self.reducer_start = Instant::now(); | |||
self.reducer_name = name.to_owned(); | |||
name.clone_into(&mut self.reducer_name); |
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.
Didn't know this was being added, neat!
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.
Yeah, it's a nice lint! Now I feel like I have to document all the overrides of clone_into
in std...
I had expected this to improve the subscription benchmarks due to the LLVM 18 bump, but it seems it didn't. Although, this may have improved perf elsewhere. |
Description of Changes
1.78 brings
#[diagnostic::on_unimplemented]
, which lets you customize error messages when a type doesn't implement a trait. I have a branch that uses it to improve reducer & table type errors.API and ABI breaking changes
MSRV bump, but that's usually not a big deal. understandable if we wanna hold off on it for a bit.
Expected complexity level and risk
1