Closed waf closed 4 years ago
It's because the winerror
feature of winapi
is missing in our dependencies. Should be easy to fix.
To workaround the problem, you don't need winit
as a dev-dependency
, just add winapi
with the winerror
feature as a dependency:
[dependencies]
winapi = { version = "0.3.8", features = ["winerror"] }
Fixed in 0.1.0-alpha.7.
Wow, fast turnaround! I can confirm that updating to 0.1.0-alpha.7
resolves the issue. Thanks!
Thanks for making this crate, it's really nice.
When I initially installed it in my application, it broke the build. I can fix it by adding a dev-dependency to my application, but is there a way to avoid this?
Cargo.toml:
Build error:
I can build my application again after adding the following dev-dependency to
my-app
:If this is hard to fix, I think adding a note to the readme is fine!