Add macOS arm64 bindings for R 4.6#263
Open
CGMossa wants to merge 1 commit into
Open
Conversation
R 4.6.0 was released after the last bindings update, so on Apple silicon the build fell back to the generic (R 4.4) bindings with a "may not work" warning. Add bindings for R 4.6 and repoint the generic `bindings-macos-aarch64.rs` symlink to the newest non-devel version, as the `/bindings` CI step does. Generated with bindgen 0.69 against R 4.6.0 using this repo's pre-extendr#250 generator (in-tree bindgen was removed in "Detach bindgen for next release", so generation now happens out of tree), with the current `wrapper.h` and the R 4.6 `nonAPI.txt`. clang: Homebrew 22.1.4. Only `macos-aarch64` is added here; the other targets need a `/bindings` regeneration on CI. Pairs with the nonAPI.txt update (this binding excludes the now-non-API hashtable functions). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO: replace this line with your own framing, in your own voice.
AI-written details
Summary
bindings-macos-aarch64-R4.6.rsand repoint the genericbindings-macos-aarch64.rssymlink to the newest non-devel version (R 4.6), the same way the/bindingsCI step does.How it was generated
bindgenfor next release #250 generator (in-tree bindgen was removed in "Detach bindgen for next release", so generation now happens out of tree), with the currentwrapper.hand the R 4.6nonAPI.txt. clang: Homebrew 22.1.4.Test plan
cargo teston macos-aarch64 with R 4.6.0 boots embedded R, evals, and assertsREALSXP == 1.0. Passes./bindingsto confirm the file matches CI output.Notes
macos-aarch64is added here. The other targets need a/bindingsregeneration on CI.nonAPI.txtupdate, but does not depend on it (the exclusion is baked in at generation time).Drafted by Claude (claude-opus-4-8). Reviewed by the author.