-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
eframe
: Add winuser
feature to winapi
to fix unresolved import
#4037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Next time the CI will catch this: #4038
eframe
: Fixed unresolved import winapi::um::winuser
after #4036eframe
: Add winuser
feature to winapi
to fix unresolved import
To see if we can catch the problem in #4037
Any chance for a bugfix release? Nevermind, I guess I just shouldn't update Cargo.lock.. |
A workaround is to just add this is to your own
|
…4037) After merging PR #4036, build errors occurred in eframe-related applications: ```log error[E0432]: unresolved import `winapi::um::winuser` --> crates\eframe\src\native\app_icon.rs:83:9 | 83 | use winapi::um::winuser; | ^^^^^^^^^^^^^^^^^^^ no `winuser` in `um` | note: found an item that was configured out --> C:\Users\Varphone\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winapi-0.3.9\src\um\mod.rs:290:37 | 290 | #[cfg(feature = "winuser")] pub mod winuser; | ^^^^^^^ = note: the item is gated behind the `winuser` feature For more information about this error, try `rustc --explain E0432`. error: could not compile `eframe` (lib) due to previous error warning: build failed, waiting for other jobs to finish... ```
To see if we can catch the problem in #4037
Just for reference, this happens independently of #4036. I'm still on egui 0.25 and was bitten by this. My best guess is that |
…milk#4037) After merging PR emilk#4036, build errors occurred in eframe-related applications: ```log error[E0432]: unresolved import `winapi::um::winuser` --> crates\eframe\src\native\app_icon.rs:83:9 | 83 | use winapi::um::winuser; | ^^^^^^^^^^^^^^^^^^^ no `winuser` in `um` | note: found an item that was configured out --> C:\Users\Varphone\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winapi-0.3.9\src\um\mod.rs:290:37 | 290 | #[cfg(feature = "winuser")] pub mod winuser; | ^^^^^^^ = note: the item is gated behind the `winuser` feature For more information about this error, try `rustc --explain E0432`. error: could not compile `eframe` (lib) due to previous error warning: build failed, waiting for other jobs to finish... ```
To see if we can catch the problem in emilk#4037
After merging PR #4036, build errors occurred in eframe-related applications: