File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -182,9 +182,10 @@ jobs:
182
182
- name : Set up Apple cross-compilation
183
183
if : startsWith(matrix.build, 'cross-macos') || startsWith(matrix.build, 'cross-ios')
184
184
run : |
185
- # Test with clang for now, has better cross-compilation support (GCC requires downloading a different toolchain)
185
+ # Test with clang/llvm for now, has better cross-compilation support (GCC requires downloading a different toolchain)
186
186
echo "CC=clang" >> $GITHUB_ENV
187
187
echo "CXX=clang++" >> $GITHUB_ENV
188
+ echo "AR=llvm-18-ar" >> $GITHUB_ENV
188
189
# Link with rust-lld
189
190
UPPERCASE_TARGET_NAME=$(echo "${{ matrix.target }}" | tr '[:lower:]-' '[:upper:]_')
190
191
echo "CARGO_TARGET_${UPPERCASE_TARGET_NAME}_LINKER=rust-lld" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments