From 08fd37b4298b35044fdd396b6652066e94a87a80 Mon Sep 17 00:00:00 2001 From: Andrew Kilroy <7545475+andykilroy@users.noreply.github.com> Date: Thu, 7 Jan 2021 20:45:01 +0000 Subject: [PATCH] [rs] Fix compilation on aarch64-apple-darwin wgpu-rs couldn't compile on the Apple M1 (arm64) macs due to a compilation problem in winit. winit 0.24.0 has the fix so upgrade the dependency. Link to the fix's pull request in winit: https://github.com/rust-windowing/winit/pull/1752 --- wgpu/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 23eabdd228..44f83f2f92 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -54,7 +54,7 @@ serde = { version = "1", features = ["derive"], optional = true } cgmath = "0.17" log = "0.4" png = "0.16" -winit = { version = "0.23.0", features = ["web-sys"] } +winit = { version = "0.24.0", features = ["web-sys"] } rand = { version = "0.7.2", features = ["wasm-bindgen"] } bytemuck = { version = "1.4", features = ["derive"] } noise = "0.6"