-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Bevy doesn't build on macOS #14956
Copy link
Copy link
Closed
Labels
A-AccessibilityA problem that prevents users with disabilities from using BevyA problem that prevents users with disabilities from using BevyA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-MacOSSpecific to the MacOS (Apple) desktop operating systemSpecific to the MacOS (Apple) desktop operating systemP-Compile-FailureA failure to compile Bevy appsA failure to compile Bevy appsS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Metadata
Metadata
Assignees
Labels
A-AccessibilityA problem that prevents users with disabilities from using BevyA problem that prevents users with disabilities from using BevyA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-MacOSSpecific to the MacOS (Apple) desktop operating systemSpecific to the MacOS (Apple) desktop operating systemP-Compile-FailureA failure to compile Bevy appsA failure to compile Bevy appsS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Bevy version
latest main (#14916)
[Optional] Relevant system information
I am using
cargo 1.82.0-nightly (ba8b39413 2024-08-16)on an Apple M1 running macOS Sonoma 14.2.1What you did
Using the setup mentioned above, bevy does not compile with the following error:
error[E0308]: mismatched types
--> /Users/raphael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/accesskit_macos-0.17.0/src/patch.rs:44:13
|
44 | focus_forwarder as unsafe extern "C" fn(_, _) -> _,
| ^^^^^^^^^^^^^^^ one type is more general than the other
|
= note: expected fn pointer
unsafe extern "C" fn(&NSWindow, objc2::runtime::Sel) -> _found fn pointer
unsafe extern "C" for<'a> fn(&'a NSWindow, objc2::runtime::Sel) -> _For more information about this error, try
rustc --explain E0308.error: could not compile
accesskit_macos(lib) due to 1 previous errorI assume this is not bevy's fault but it prevents bevy from being built.