Skip to content

Commit

Permalink
cmd/dist, misc/cgo/testcshared: enable c-shared test on loong64
Browse files Browse the repository at this point in the history
Updates golang#53301
Updates golang#58784

Change-Id: I68357e420f0920d6609d399cee40cd44af018385
  • Loading branch information
limeidan authored and xen0n committed Mar 9, 2023
1 parent 9c2df46 commit e58f07d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion misc/cgo/testcshared/testdata/libgo2/dup2.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build darwin dragonfly freebsd linux,!arm64,!riscv64 netbsd openbsd
// +build darwin dragonfly freebsd linux,!arm64,!riscv64,!loong64 netbsd openbsd

package main

Expand Down
2 changes: 1 addition & 1 deletion misc/cgo/testcshared/testdata/libgo2/dup3.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build linux,arm64 linux,riscv64
// +build linux,arm64 linux,riscv64 linux,loong64

package main

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/dist/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ func buildModeSupported(compiler, buildmode, goos, goarch string) bool {

case "c-shared":
switch platform {
case "linux/amd64", "linux/arm", "linux/arm64", "linux/386", "linux/ppc64le", "linux/riscv64", "linux/s390x",
case "linux/amd64", "linux/arm", "linux/arm64", "linux/loong64", "linux/386", "linux/ppc64le", "linux/riscv64", "linux/s390x",
"android/amd64", "android/arm", "android/arm64", "android/386",
"freebsd/amd64",
"darwin/amd64", "darwin/arm64",
Expand Down

0 comments on commit e58f07d

Please sign in to comment.