Skip to content

Commit 5faa828

Browse files
committed
cmd/link: use GOOS=ios for TestBuildForTvOS
Updates #38485. Fix darwin-amd64-10_15 build. Change-Id: I1833c23788acafc9530bb91fb6182fc5cb44f6cd Reviewed-on: https://go-review.googlesource.com/c/go/+/263265 Trust: Cherry Zhang <[email protected]> Run-TryBot: Cherry Zhang <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 11cfb48 commit 5faa828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/link/link_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func TestBuildForTvOS(t *testing.T) {
309309
cmd := exec.Command(testenv.GoToolPath(t), "build", "-buildmode=c-archive", "-o", ar, lib)
310310
cmd.Env = append(os.Environ(),
311311
"CGO_ENABLED=1",
312-
"GOOS=darwin",
312+
"GOOS=ios",
313313
"GOARCH=arm64",
314314
"CC="+strings.Join(CC, " "),
315315
"CGO_CFLAGS=", // ensure CGO_CFLAGS does not contain any flags. Issue #35459

0 commit comments

Comments
 (0)