Skip to content

Commit 5ae5b0e

Browse files
committed
Enable building Cargo for aarch64-apple-darwin
1 parent d909d69 commit 5ae5b0e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,15 @@ jobs:
306306
- name: dist-aarch64-apple
307307
env:
308308
SCRIPT: "./x.py dist --stage 2"
309-
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --tools=rls,clippy,rustfmt,analysis,src"
309+
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
310310
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
311311
SELECT_XCODE: /Applications/Xcode_12_beta.app
312312
USE_XCODE_CLANG: 1
313313
MACOSX_DEPLOYMENT_TARGET: 11.0
314314
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
315315
NO_LLVM_ASSERTIONS: 1
316316
NO_DEBUG_ASSERTIONS: 1
317+
DIST_REQUIRE_ALL_TOOLS: 1
317318
os: macos-latest
318319
- name: x86_64-msvc-1
319320
env:

src/ci/github-actions/ci.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -469,24 +469,19 @@ jobs:
469469
--build=x86_64-apple-darwin
470470
--host=aarch64-apple-darwin
471471
--target=aarch64-apple-darwin
472+
--enable-full-tools
472473
--enable-sanitizers
473474
--enable-profiler
474475
--set rust.jemalloc
475476
--set llvm.ninja=false
476-
--tools=rls,clippy,rustfmt,analysis,src
477477
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
478478
SELECT_XCODE: /Applications/Xcode_12_beta.app
479479
USE_XCODE_CLANG: 1
480480
MACOSX_DEPLOYMENT_TARGET: 11.0
481481
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
482482
NO_LLVM_ASSERTIONS: 1
483483
NO_DEBUG_ASSERTIONS: 1
484-
# TODO: Cargo is disabled until OpenSSL 1.1.1 can be
485-
# compiled for aarch64-apple-darwin::
486-
# https://github.com/openssl/openssl/pull/12369. Once
487-
# fixed, remove `--tools`, add back
488-
# `--enable-full-tools`, and enable this again
489-
# DIST_REQUIRE_ALL_TOOLS: 1
484+
DIST_REQUIRE_ALL_TOOLS: 1
490485
<<: *job-macos-xl
491486

492487
######################

0 commit comments

Comments
 (0)