@@ -555,17 +555,14 @@ jobs:
555
555
# This target only needs to support 11.0 and up as nothing else supports the hardware
556
556
- name : dist-aarch64-apple
557
557
env :
558
- SCRIPT : ./x.py dist bootstrap --include-default-paths --stage 2
558
+ SCRIPT : ./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin
559
559
RUST_CONFIGURE_ARGS : >-
560
- --build=x86_64-apple-darwin
561
- --host=aarch64-apple-darwin
562
- --target=aarch64-apple-darwin
563
560
--enable-full-tools
564
561
--enable-sanitizers
565
562
--enable-profiler
566
- --disable-docs
567
563
--set rust.jemalloc
568
564
--set llvm.ninja=false
565
+ --set rust.lto=thin
569
566
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
570
567
SELECT_XCODE : /Applications/Xcode_13.4.1.app
571
568
USE_XCODE_CLANG : 1
@@ -575,15 +572,26 @@ jobs:
575
572
NO_DEBUG_ASSERTIONS : 1
576
573
NO_OVERFLOW_CHECKS : 1
577
574
DIST_REQUIRE_ALL_TOOLS : 1
578
- # Corresponds to 16K page size
579
- #
580
- # Shouldn't be needed if jemalloc-sys is updated to
581
- # handle this platform like iOS or if we build on
582
- # aarch64-apple-darwin itself.
583
- #
584
- # https://github.com/gnzlbg/jemallocator/blob/c27a859e98e3cb790dc269773d9da71a1e918458/jemalloc-sys/build.rs#L237
585
- JEMALLOC_SYS_WITH_LG_PAGE : 14
586
- << : *job-macos-xl
575
+ << : *job-macos-m1
576
+
577
+ # This target only needs to support 11.0 and up as nothing else supports the hardware
578
+ - name : aarch64-apple
579
+ env :
580
+ SCRIPT : ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin
581
+ RUST_CONFIGURE_ARGS : >-
582
+ --enable-sanitizers
583
+ --enable-profiler
584
+ --set rust.jemalloc
585
+ --set llvm.ninja=false
586
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
587
+ SELECT_XCODE : /Applications/Xcode_13.4.1.app
588
+ USE_XCODE_CLANG : 1
589
+ MACOSX_DEPLOYMENT_TARGET : 11.0
590
+ MACOSX_STD_DEPLOYMENT_TARGET : 11.0
591
+ NO_LLVM_ASSERTIONS : 1
592
+ NO_DEBUG_ASSERTIONS : 1
593
+ NO_OVERFLOW_CHECKS : 1
594
+ << : *job-macos-m1
587
595
588
596
# #####################
589
597
# Windows Builders #
0 commit comments