-
Notifications
You must be signed in to change notification settings - Fork 919
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
aarch64/Apple Silicon/M1 support #1789
Comments
Winit doesn't have a known way to perform patch releases unfortunately, I'll try to come up with something. |
It looks like in case of alacritty, the build then fails when compiling
|
The patch release can't be done without cherry picking things and moving them into a separate branch. I'm also not sure how winit scrips are working here. I think we can do a major release soon-ish, but can't say more. |
Thanks a lot, I think I went ahead being a bit too specific in the title and just corrected that. Lastly, if you need any testing, I am happy to help. |
It looks like glutin fails to compile due to breaking changes in master. --- a/glutin/src/platform/mod.rs
+++ b/glutin/src/platform/mod.rs
@@ -30,7 +30,7 @@ pub mod desktop {
target_os = "netbsd",
target_os = "openbsd",
))]
- pub use winit::platform::desktop::*;
+ pub use winit::platform::run_return::*;
}
use std::os::raw; With this patch applied locally, alacritty gets past its initial build failure. Here is the override in --- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,3 +8,7 @@ members = [
lto = true
debug = 1
incremental = false
+
+[patch.crates-io]
+winit = { git = "https://github.com/rust-windowing/winit" }
+glutin = { path = "/path/to/glutin/glutin" } |
@kchibisov Are you aware of any blockers to publishing a new release? This is the last crate I need updated for an app I'm building to get it working on Apple Silicon. |
+1, waiting for the new release of |
@ifsheldon If you haven't seen it yet, there'll be a release when #1793 gets merged. |
When trying to compile Alacritty (and probably many more) on Apple Silicon, the compilation fails without the fix in 3a077ff .
A patch release would be greatly appreciated. Thank you.
The text was updated successfully, but these errors were encountered: