-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Apple Silicon support #1002
Apple Silicon support #1002
Conversation
Sweet, yeah that confirms exactly why results that I had when trying to compile for M1.
Maybe waiting for Winit to do an update would be a good idea first though. At the very least, I would suggest having the Cargo.toml git patch put in as a conditional much like WASM's. |
Currently
Related Issues: rust-lang/rust-bindgen#1211 |
I see, ok good to know. Hopefully they fix it soon. |
To build
|
Yep soon RustAudio/coreaudio-sys#46 |
|
@@ -42,7 +50,7 @@ impl Into<shaderc::ShaderKind> for ShaderStage { | |||
} | |||
} | |||
|
|||
#[cfg(target_os = "ios")] | |||
#[cfg(any(target_os = "ios", all(target_os = "macos", target_arch = "aarch64")))] |
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.
The function below was updated recently to return a Result
. You can copy what I added here to make this work on Apple Silicon:
I created my pull request before I saw yours, oops
@MichaelHills bevy_audio now works fine! |
Close this PR, looks like #1027 is working better |
Issue: #928
shaderc
onaarch64-apple-darwin
targetwinit
: rust-windowing/winit@3a077ffbevy_audio
is currently unavailable, May be related to RustAudio/coreaudio-sys#45