-
Notifications
You must be signed in to change notification settings - Fork 109
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
Compile issues when targeting aarch64-apple-darwin (Apple M1) #172
Comments
I'll see if I can get |
The current head has updated glutin & winit to 0.23. Anyone have an M1 to test this on? |
Yeah, I'll check it out. If you want to see locally you should be able to target the M1:
|
Oh nice, thank you! I'll give that a shot. |
And Unfortunately I misunderstood, and this winit fix has made it into patching in the master branch works: [patch.crates-io]
winit = { git = "https://github.com/rust-windowing/winit", branch = "master" } but then I have an issue with glutin:
Will keep digging, let me know if this is unhelpful. This may be more trouble than it's worth for now. |
If its in their master, I'll have to wait for winit to publish it - and for Glutin to update to use it. :-( |
I pulled bracket-lib master and updated smallvec (per the open PR) and then updated glutin and winit to current released versions in bracket-terminal/Cargo.toml
Tested by pulling the rustrogueliketutorial tutorials and changing the tutorial Cargo.toml files to reference my bracket-lib/rltk. I didn't test all of the tutorials, but I tested chapter 01 and 68 which appeared to work correctly. |
Ran into this issue, it seems like winit has fixed the issue but maybe glutin doesn't know they need to update to fix it on M1's. Either way, I am progressing with the book by compiling with x86 and letting rosetta2 run the app.
|
A friend tells me that with the new glutin/winit it works for them. Anyone else mind testing for me, please? |
Happy to try, what's the best way to override the versions that ship with bracket-lib? Still new to the Rust toolchain. |
You should be able to replace the
That will download the latest github main, and build from there. It should work - Thanks! |
Works wonderfully now! Thanks for the update to bracket-lib. |
Awesome, thank you! I'll get this issue closed, and I'm one step closer to shipping the next crate version. |
Seeing a few of these when I try to compile on:
Default host: aarch64-apple-darwin
It looks like winit
v0.23.0
fixes this rust-windowing/winit#1752The text was updated successfully, but these errors were encountered: