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 {
26202620 clang. to_string ( )
26212621 } else if target. contains ( "apple-watchos" ) {
26222622 clang. to_string ( )
2623+ } else if target. contains ( "apple-tvos" ) {
2624+ clang. to_string ( )
26232625 } else if target. contains ( "android" ) {
26242626 autodetect_android_compiler ( & target, & host, gnu, clang)
26252627 } else if target. contains ( "cloudabi" ) {
Original file line number Diff line number Diff line change @@ -507,33 +507,3 @@ fn gnu_apple_darwin() {
507507 cmd. must_not_have ( "-isysroot" ) ;
508508 }
509509}
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