Skip to content

Commit 3c13efb

Browse files
committed
update apple runners
1 parent 712cf71 commit 3c13efb

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
@@ -369,7 +369,7 @@ auto:
369369
- name: dist-x86_64-apple
370370
env:
371371
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
372-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
372+
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
373373
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
374374
# Ensure that host tooling is built to support our minimum support macOS version.
375375
MACOSX_DEPLOYMENT_TARGET: 10.12
@@ -387,7 +387,7 @@ auto:
387387
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
388388
# Mac Catalyst cannot currently compile the sanitizer:
389389
# https://github.com/rust-lang/rust/issues/129069
390-
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
390+
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
391391
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
392392
# Ensure that host tooling is built to support our minimum support macOS version.
393393
# FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)

0 commit comments

Comments
 (0)