Skip to content
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

Examples are broken on macOS when compiling with nightly #721

Open
polina4096 opened this issue Aug 25, 2024 · 1 comment
Open

Examples are broken on macOS when compiling with nightly #721

polina4096 opened this issue Aug 25, 2024 · 1 comment

Comments

@polina4096
Copy link

polina4096 commented Aug 25, 2024

Examples fail to compile when following the procedure stated in the README on macOS (Apple Silicon) with nightly rustc.

error[E0308]: mismatched types
  --> /Users/polina4096/.cargo/registry/src/index.crates.io-6f17d22bba15001f/accesskit_macos-0.10.1/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) -> _`
@polina4096 polina4096 changed the title 3D examples are broken on macos Examples are broken on macos Aug 25, 2024
@polina4096 polina4096 changed the title Examples are broken on macos Examples are broken on macOS Aug 25, 2024
@polina4096 polina4096 changed the title Examples are broken on macOS Examples are broken on macOS when compiling with nightly Aug 26, 2024
@Vrixyz
Copy link
Contributor

Vrixyz commented Aug 30, 2024

This seems related to accesskit, I imagine this will get fixed in a future bevy version, but I'd be interested to know if they know about it / link an upstream issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants