Skip to content

Commit 4d3b2cd

Browse files
committed
update apple runners
1 parent 8761799 commit 4d3b2cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_monomorphize/src/partitioning/autodiff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub(crate) fn find_autodiff_source_functions<'tcx>(
6666
let mut autodiff_items: Vec<AutoDiffItem> = vec![];
6767
for (item, instance) in autodiff_mono_items {
6868
let target_id = instance.def_id();
69-
let cg_fn_attr = tcx.codegen_fn_attrs(target_id).autodiff_item.clone();
69+
let cg_fn_attr = &tcx.codegen_fn_attrs(target_id).autodiff_item;
7070
let Some(target_attrs) = cg_fn_attr else {
7171
continue;
7272
};

src/ci/github-actions/jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ auto:
367367
- name: dist-x86_64-apple
368368
env:
369369
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
370-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
370+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1 --set llvm.plugins=true --set llvm.enzyme=true
371371
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
372372
# Ensure that host tooling is built to support our minimum support macOS version.
373373
MACOSX_DEPLOYMENT_TARGET: 10.12
@@ -385,7 +385,7 @@ auto:
385385
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim,aarch64-apple-ios-macabi,x86_64-apple-ios-macabi
386386
# Mac Catalyst cannot currently compile the sanitizer:
387387
# https://github.com/rust-lang/rust/issues/129069
388-
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc --set target.aarch64-apple-ios-macabi.sanitizers=false --set target.x86_64-apple-ios-macabi.sanitizers=false
388+
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc --set target.aarch64-apple-ios-macabi.sanitizers=false --set target.x86_64-apple-ios-macabi.sanitizers=false --set llvm.plugins=true --set llvm.enzyme=true
389389
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
390390
# Ensure that host tooling is built to support our minimum support macOS version.
391391
# FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)

0 commit comments

Comments
 (0)