Hacker News new | ask | show | jobs
by bobajeff 56 days ago
No just without Wayland. My system didn't have Wayland installed because it's old enough not to include it by default and my card doesn't support it. However, a short while ago I got it to build by installing libwayland. (I was afraid my system might break by installing it but that doesn't seem to be the case so far.)
1 comments

Then I don't see why you'd need libwayland at all? Build only for X11 and it won't try to use Wayland? X11 is enabled by default (wayland is even behind a feature flag), and you can force it with WINIT_UNIX_BACKEND=x11 as well.
Unfortunately, Wayland is a default feature in bevy and the only way to not include is too disable default features and manually enable the features you need which requires a very deep understanding of the project (which so far I've not found anyone who fits that description)
Not sure it's that difficult, you remove default-features, take the current list of 75 default features, copy-paste it, remove `wayland` from there, done :)
That sounds very simple. And yet it's apparently not:

https://github.com/bevyengine/bevy/issues/26055