@@ -376,7 +376,7 @@ auto:
376376 - name : dist-x86_64-apple
377377 env :
378378 SCRIPT : ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
379- RUST_CONFIGURE_ARGS : --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
379+ RUST_CONFIGURE_ARGS : --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set llvm.enzyme=true --set rust.codegen-units=1
380380 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
381381 # Ensure that host tooling is built to support our minimum support macOS version.
382382 MACOSX_DEPLOYMENT_TARGET : 10.12
@@ -394,7 +394,7 @@ auto:
394394 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
395395 # Mac Catalyst cannot currently compile the sanitizer:
396396 # https://github.com/rust-lang/rust/issues/129069
397- 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
397+ RUST_CONFIGURE_ARGS : --enable-sanitizers --enable-profiler --set rust.jemalloc --set target.aarch64-apple-ios-macabi.sanitizers=false --set llvm.enzyme=true --set target.x86_64-apple-ios-macabi.sanitizers=false
398398 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
399399 # Ensure that host tooling is built to support our minimum support macOS version.
400400 # FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
@@ -426,6 +426,7 @@ auto:
426426 --enable-profiler
427427 --set rust.jemalloc
428428 --set llvm.ninja=false
429+ --set llvm.enzyme=true
429430 --set rust.lto=thin
430431 --set rust.codegen-units=1
431432 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
0 commit comments