Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
8 changes: 8 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Loading