-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Oh hi @bjorn3 just wanted to report that I messed around, built rustc cranelift as recommended, and much to my joyful surprise, I was able to compile the wgpu-rs shadow example (1 minute faster!):
regular
Finished dev [unoptimized + debuginfo] target(s) in 3m 04s
cranelift
Finished dev [unoptimized + debuginfo] target(s) in 2m 06s
Here's a screenshot of wgpu-rs shadow example running in debug mode built with cranelift!
I just want to congratulate you on the absolute achievement this is, and once again, you and everyone else should be incredibly proud of the work you've done to get this far!
One thing to note is that I had to patch master:
diff --git a/Cargo.toml b/Cargo.toml
index b1d7fbb..7eec0da 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -54,7 +54,7 @@ gfx-backend-vulkan = { version = "0.6", features = ["x11"] }
cgmath = "0.17"
log = "0.4"
png = "0.16"
-winit = { version = "0.22.1", features = ["web-sys"] }
+winit = { git = "https://github.com/kchibisov/winit", branch = "wayland-rework", features = ["web-sys"] }
rand = { version = "0.7.2", features = ["wasm-bindgen"] }
bytemuck = { version = "1.4", features = ["derive"] }
noise = "0.6"
because 0.23 wayland-client (used by crates.io winit) and wayland-protocols fails at the build.rs
step (only for cranelift); I'm not sure what the issue is there, but it appears to be resolved in 0.27, so there is that.
It was also an excuse to open this issue and praise you and everyone else who made this possible, once again, absolutely incredible work - I'm really, really looking forward to early adopting using cranelift rustc for my debug builds in the near future :)