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

Use stable Rust to build and test aarch64-apple-darwin #63

Merged
merged 4 commits into from
Jun 27, 2021

Conversation

yutannihilation
Copy link
Contributor

@yutannihilation yutannihilation commented Jun 24, 2021

At the time of we added macos-11 runner, the nightly toolchain was needed. But, as of Rust 1.49, aarch64-apple-darwin is tier 2 target. This pull request adds the following changes regarding to this issue:

  • Use stable toolchain
  • Remove default target
  • Remove an workaround for duplication of the generated bindings

@yutannihilation
Copy link
Contributor Author

Let me figure out why the tests on aarch64-apple-darwin needed to be skipped... 🤔

@yutannihilation
Copy link
Contributor Author

Ah, of course setup-r action installs x86_64 version because macos-11 runner is (still?) on intel machines.

2021-06-24T14:03:18.8608600Z = note: ld: warning: ignoring file /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libR.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

Sorry, my attempt was a bit too early. Let's wait for this:

actions/runner-images#2187

@yutannihilation
Copy link
Contributor Author

I minimized the change to just replacing the toolchain with the stable version. Let's revisit here when actions/runner-images#2187 gets ready...

@yutannihilation yutannihilation merged commit 6520290 into extendr:master Jun 27, 2021
@yutannihilation yutannihilation deleted the ci/macos-aarch64 branch June 27, 2021 08:15
CGMossa pushed a commit to CGMossa/libR-sys that referenced this pull request Jan 21, 2024
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