Disable profiler runtime on tvOS and watchOS

This commit is contained in:
Mads Marquart 2026-02-10 09:16:55 +01:00
parent 4a01f22a3e
commit 4fa388cb52

View file

@ -481,7 +481,19 @@ auto:
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=$TARGETS
# Mac Catalyst cannot currently compile the sanitizer:
# https://github.com/rust-lang/rust/issues/129069
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
#
# And tvOS and watchOS don't currently support the profiler runtime:
# https://github.com/rust-lang/rust/issues/152426
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 target.aarch64-apple-tvos.profiler=false
--set target.aarch64-apple-tvos-sim.profiler=false
--set target.aarch64-apple-watchos.profiler=false
--set target.aarch64-apple-watchos-sim.profiler=false
# Ensure that host tooling is built to support our minimum support macOS version.
# FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
MACOSX_DEPLOYMENT_TARGET: 10.12