File tree Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -2620,6 +2620,8 @@ impl Build {
2620
2620
clang. to_string ( )
2621
2621
} else if target. contains ( "apple-watchos" ) {
2622
2622
clang. to_string ( )
2623
+ } else if target. contains ( "apple-tvos" ) {
2624
+ clang. to_string ( )
2623
2625
} else if target. contains ( "android" ) {
2624
2626
autodetect_android_compiler ( & target, & host, gnu, clang)
2625
2627
} else if target. contains ( "cloudabi" ) {
Original file line number Diff line number Diff line change @@ -507,33 +507,3 @@ fn gnu_apple_darwin() {
507
507
cmd. must_not_have ( "-isysroot" ) ;
508
508
}
509
509
}
510
-
511
- #[ cfg( target_os = "macos" ) ]
512
- #[ test]
513
- fn apple_tvos ( ) {
514
- for target in & [ "aarch64-apple-tvos" ] {
515
- let test = Test :: gnu ( ) ;
516
- test. gcc ( )
517
- . target ( & target)
518
- . host ( & target)
519
- . file ( "foo.c" )
520
- . compile ( "foo" ) ;
521
-
522
- test. cmd ( 0 ) . must_have ( "-mappletvos-version-min=9.0" ) ;
523
- }
524
- }
525
-
526
- #[ cfg( target_os = "macos" ) ]
527
- #[ test]
528
- fn apple_tvsimulator ( ) {
529
- for target in & [ "x86_64-apple-tvos" ] {
530
- let test = Test :: gnu ( ) ;
531
- test. gcc ( )
532
- . target ( & target)
533
- . host ( & target)
534
- . file ( "foo.c" )
535
- . compile ( "foo" ) ;
536
-
537
- test. cmd ( 0 ) . must_have ( "-mappletvsimulator-version-min=9.0" ) ;
538
- }
539
- }
You can’t perform that action at this time.
0 commit comments