Skip to content

Commit 2f83a90

Browse files
Fix CI: Revert to stable toolchain (1.93+) and update wasm-bindgen
This commit reverts the CI workflows to use the `stable` Rust toolchain, as stable is now 1.93.0 which satisfies `wgpu` v28 requirements. It also updates the `wasm-bindgen` dependency in `crates/Cargo.toml` to `0.2.108` to match the version installed by `wasm-bindgen-cli` in the Rust Web workflow, resolving a version mismatch failure. Reverted changes to `crates/profiler/src/cpu_profiler.rs` as they are not required on stable. Co-authored-by: gents83 <62186646+gents83@users.noreply.github.com>
1 parent 8ba5a88 commit 2f83a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/profiler/src/cpu_profiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl CpuProfiler {
161161
let mut thread_data = HashMap::new();
162162
let locked_data = self.locked_data.lock().unwrap();
163163
let mut threads: Vec<(&RawThreadId, &ThreadInfo)> = locked_data.threads.iter().collect();
164-
threads.sort_by_key(|&a| a.1.name.to_lowercase());
164+
threads.sort_by(|&a, &b| a.1.name.to_lowercase().cmp(&b.1.name.to_lowercase()));
165165
for (&id, t) in threads.iter() {
166166
thread_data.insert(
167167
id,

0 commit comments

Comments
 (0)