From 3ca413b6d72d971c9effc62c466a8bb8cc93f661 Mon Sep 17 00:00:00 2001 From: Hiroaki Yutani Date: Tue, 14 Apr 2026 22:25:18 +0900 Subject: [PATCH 1/2] Add intel macOS runner --- .github/workflows/check-full.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-full.yaml b/.github/workflows/check-full.yaml index 0eee97a..6b9bbc4 100644 --- a/.github/workflows/check-full.yaml +++ b/.github/workflows/check-full.yaml @@ -18,6 +18,7 @@ jobs: config: - {os: windows-latest, r: 'release', rust: 'stable-msvc'} - {os: macOS-latest, r: 'release', rust: 'stable' } + - {os: macos-15-intel, r: 'release', rust: 'stable' } - {os: ubuntu-latest, r: 'release', rust: 'stable' } - {os: ubuntu-latest, r: 'devel', rust: 'stable' } - {os: ubuntu-latest, r: 'release', rust: 'nightly' } From 099dcb6540f5e4f9f6d897dcf9c9102d4603c4d7 Mon Sep 17 00:00:00 2001 From: Hiroaki Yutani Date: Tue, 14 Apr 2026 22:43:54 +0900 Subject: [PATCH 2/2] Add libs for x86_64 macOS --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 6ef3c37..f653274 100755 --- a/configure +++ b/configure @@ -70,6 +70,14 @@ if [ "$(uname)" = "Darwin" ]; then MACOSX_DEPLOYMENT_TARGET="${MACOSX_DEPLOYMENT_TARGET:-11.0}" echo "using macOS deployment target: ${MACOSX_DEPLOYMENT_TARGET}" BEFORE_CARGO_BUILD="${BEFORE_CARGO_BUILD}"' export MACOSX_DEPLOYMENT_TARGET="'"${MACOSX_DEPLOYMENT_TARGET}"'" \&\&' + + # Link Apple frameworks used transitively by the font-kit / core-text Rust + # crates. The `#[link(..., kind = "framework")]` attributes inside those + # crates are dropped when the crate is consumed as a staticlib, so the + # final R link step must request the frameworks explicitly. Otherwise + # symbols like `_kCTFontURLAttribute` end up unresolved in the flat + # namespace and fail at dyld load time (notably on x86_64 macOS builders). + ADDITIONAL_PKG_LIBS="${ADDITIONAL_PKG_LIBS} -framework Foundation -framework CoreText -framework CoreFoundation -framework CoreGraphics -framework AppKit" fi sed \