Skip to content

Commit 4fa388c

Browse files
committed
Disable profiler runtime on tvOS and watchOS
1 parent 4a01f22 commit 4fa388c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎src/ci/github-actions/jobs.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,19 @@ auto:
481481
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=$TARGETS
482482
# Mac Catalyst cannot currently compile the sanitizer:
483483
# https://github.com/rust-lang/rust/issues/129069
484-
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
484+
#
485+
# And tvOS and watchOS don't currently support the profiler runtime:
486+
# https://github.com/rust-lang/rust/issues/152426
487+
RUST_CONFIGURE_ARGS: >-
488+
--enable-sanitizers
489+
--enable-profiler
490+
--set rust.jemalloc
491+
--set target.aarch64-apple-ios-macabi.sanitizers=false
492+
--set target.x86_64-apple-ios-macabi.sanitizers=false
493+
--set target.aarch64-apple-tvos.profiler=false
494+
--set target.aarch64-apple-tvos-sim.profiler=false
495+
--set target.aarch64-apple-watchos.profiler=false
496+
--set target.aarch64-apple-watchos-sim.profiler=false
485497
# Ensure that host tooling is built to support our minimum support macOS version.
486498
# FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
487499
MACOSX_DEPLOYMENT_TARGET: 10.12

0 commit comments

Comments
 (0)