-
Notifications
You must be signed in to change notification settings - Fork 102
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
wayland-protocols 0.23 build.rs fails #1085
Comments
Thanks for the issue! wayland-protocols has given trouble in the past, though this has been during the actual compilation of the crate, not build.rs. What is the error/panic? |
this is all i see:
|
Not sure if exec-ing directly helps (maybe it needs args or certain exec path), but it reports this:
|
wayland protocols also fails:
|
Thanks! I will investigate.
That is probably the |
It uses |
ok cool, nice discovery! (i am terrified at prospects of panics being caught in build.rs scripts, but i digress) Not sure there's much you can do about it (other than adding panic unwind support, but i'm sure that's on someone's radar somewhere :)) Anyway, I think we can close this? Winit 0.23 coming out soon anyway, which is where I noticed this, and it will use the later wayland-scanner and wayland-protocols, which I've tested work. |
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!):
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:
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 :)
The text was updated successfully, but these errors were encountered: