Bump Rust toolchain to nightly-2022-02-24. (#3348)

This commit is contained in:
Michael Mauderer 2022-03-18 14:45:56 +01:00 committed by GitHub
parent 5b7576f53a
commit ec9c2f35e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 5 deletions

View File

@ -5,6 +5,7 @@
// === Features ===
#![feature(associated_type_defaults)]
#![feature(drain_filter)]
#![feature(entry_insert)]
#![feature(fn_traits)]
#![feature(option_result_contains)]
#![feature(specialization)]

View File

@ -126,11 +126,11 @@ impl NavigatorEventsData {
}
fn on_zoom(&self, event: ZoomEvent) {
(&mut self.properties.borrow_mut().zoom_callback)(event);
(self.properties.borrow_mut().zoom_callback)(event);
}
fn on_pan(&self, event: PanEvent) {
(&mut self.properties.borrow_mut().pan_callback)(event);
(self.properties.borrow_mut().pan_callback)(event);
}
}

View File

@ -10,10 +10,11 @@
#![feature(cell_update)]
#![feature(const_type_id)]
#![feature(drain_filter)]
#![feature(entry_insert)]
#![feature(fn_traits)]
#![feature(marker_trait_attr)]
#![feature(specialization)]
#![feature(trait_alias)]
#![feature(marker_trait_attr)]
#![feature(type_alias_impl_trait)]
#![feature(unboxed_closures)]
// === Standard Linter Configuration ===

2
run
View File

@ -21,7 +21,7 @@ async function init () {
console.log("Checking versions of installed packages.")
await cmd.check_version('node',node_lts_version)
await cmd.check_version('npm',npm_lts_version)
await cmd.check_version('rustc','1.60.0-nightly',{
await cmd.check_version('rustc','1.61.0-nightly',{
preprocess:(v)=>v.substring(6,20)
})
}

View File

@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2022-01-20"
channel = "nightly-2022-02-24"
components = ["clippy"]
profile = "default"
targets = [ "wasm32-unknown-unknown" ]