Closed Funami580 closed 2 years ago
Hm, what's the problem that this fixes? Looking at the warnings in the test output it seems as though cargo test
uses the normal wayland-server
while cargo test --features=dlopen
uses the native_lib
wayland-server
correctly.
For me, the problem only occured when using this crate as a dependency with the feature native_lib
in another crate.
Maybe switching to the Cargo feature resolver v2 could fix this issue? I'm just not sure pulling wayland-server into the main dependencies is the best solution.
Just tried some things out and seems like updating to rust 1.58 solves the issue. Sorry for the inconvenience.
Hm, alright.
The problem was that the feature enabled a feature in wayland-server, although wayland-server was only available as a dev-dependeny. The most simple way to fix this is to just put wayland-server in the normal dependencies.