-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace winres with winresource #24
Conversation
@@ -7,8 +7,6 @@ use windows::Win32::{ | |||
UI::WindowsAndMessaging as wm, | |||
}; | |||
|
|||
#[cfg(test)] |
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.
After updating my Rust environment by a few versions, I found I could no longer compile non-test builds, due to a missing wide_string module. It works again if I delete this line. My understanding is that this would omit the next line from non-test builds, right? But this annotation isn't new. Why did this used to work?
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.
Opps. It is a problem with https://github.com/Eh2406/rust-reader/pull/22/files#diff-42cb6807ad74b3e201c5a7ca98b911c5fa08380e942be6e4ac5807f8377f87fc #[cfg(test)]
and #[macro_use]
modified the extern crate lazy_static;
until we removed it. Now it is incorrectly applying to wide_string
.
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.
I'll push a fix.
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 for the quick fix. Does the rest of this PR (as well as #23) look good to merge?
Fixes bug in PR Eh2406#24, which immediately crashes on launch
Fixes bug in PR Eh2406#24, which immediately crashes on launch
Fixes bug in PR #24, which immediately crashes on launch
Fixes #17