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

ffi_prep_closure is unavailable on ARM-based Macs #97

Open
timburks opened this issue Apr 26, 2021 · 2 comments
Open

ffi_prep_closure is unavailable on ARM-based Macs #97

timburks opened this issue Apr 26, 2021 · 2 comments

Comments

@timburks
Copy link
Member

Nu builds fail on ARM-based Macs:

objc/NuBridge.m:1242:6: error: implicit declaration of function
      'ffi_prep_closure' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        if (ffi_prep_closure(closure, cif, objc_calling_nu_method_handle...
            ^
1 error generated.
make: *** [objc/NuBridge.o] Error 1

This appears to be already fixed for iOS.

@NightMachinery
Copy link

Does it work via Rosetta?

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

3 participants
@timburks @NightMachinery and others