-
Notifications
You must be signed in to change notification settings - Fork 7
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
Upgrade raw-window-handle to 0.5.0 #5
Conversation
It seems there's no pattern of `let _: ()`/`let (): ()`/`let (): _` binding that circumnavigates this clippy warning: ignore it instead.
#[cfg(target_os = "macos")] | ||
pub mod appkit; | ||
#[cfg(target_os = "ios")] | ||
pub mod uikit; |
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.
@msiglreith I thought I left a comment here but that was on your 0.4
PR, thoughts?
@msiglreith I've been looking into reviving the related
ash-window
PR now thatraw-window-handle 0.5
is out and used inwinit 0.27
, and stumbled upon these cfgs. According to https://github.com/rust-windowing/raw-window-handle/pull/70/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759 (surprisingly the author detailed/justified nothing of this in PR/commit messages...) it should be possible to use these acrossmacos
andios
now when targeting "Mac Catalyst"?
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.
As it passes builds I'm happy with it, given these are not strictly iOS/macOS anymore (as it was in the past).
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.
Note that I moved these to the top of the file with #![cfg(any(target_os = "macos", target_os = "ios"))]
, since it's still all limited to Apple platforms.
Thanks, version 0.3.0 published to crates.io |
Thanks, using it now in |
* ash-window: Upgrade to raw-window-handle 0.5.0 * Bump `raw-window-metal` to recently-released `0.3` rust-windowing/raw-window-metal#5 * examples: Bump `winit` to `0.27.1` to resolve our MSRV tests While the examples technically aren't part of our MSRV requirement (it's nice, but core crate compatibility is much more important), it's annoying to exempt these especially now that `winit` removed some unneeded MSRV 1.60/1.61 requirements. * Take `Raw{Display,Window}Handle` directly instead of through trait
* ash-window: Upgrade to raw-window-handle 0.5.0 * Bump `raw-window-metal` to recently-released `0.3` rust-windowing/raw-window-metal#5 * examples: Bump `winit` to `0.27.1` to resolve our MSRV tests While the examples technically aren't part of our MSRV requirement (it's nice, but core crate compatibility is much more important), it's annoying to exempt these especially now that `winit` removed some unneeded MSRV 1.60/1.61 requirements. * Take `Raw{Display,Window}Handle` directly instead of through trait
No description provided.