Skip to content

Update JNR for Apple Silicon varargs support#6985

Merged
headius merged 2 commits intojruby:jruby-9.2from
headius:update_jnr
Jan 6, 2022
Merged

Update JNR for Apple Silicon varargs support#6985
headius merged 2 commits intojruby:jruby-9.2from
headius:update_jnr

Conversation

@headius
Copy link
Member

@headius headius commented Jan 5, 2022

This PR will incorporate the recent work to get variadic functions working properly on Apple Silicon.

@headius headius added this to the JRuby 9.2.21.0 milestone Jan 5, 2022
@545ch4
Copy link

545ch4 commented Jan 6, 2022

Yeah! Can confirm this PR (and upstream jnr/jffi#121 + jnr/jnr-ffi#292 + jnr/jnr-posix#174) fixes #6983. Tested on macOS Monterey 12.1 aarch64 M1Max using OpenJDK@11.

This is great news! Thank you!

This class was largely copied from jnr-ffi, and duplicates this
logic. Patch brings over the updates for variadic function calls
to support Ruby FFI on M1.

See jruby#6987
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

Successfully merging this pull request may close these issues.

2 participants