1
0
mirror of https://github.com/golang/go synced 2024-09-29 14:24:32 -06:00
go/misc/cgo
limeidan b3a194aad6 cmd/internal/sys, cmd/dist, misc/cgo/testcshared: enable c-shared feature and test on loong64
Linux kernel on loong64 has no Dup2 syscall support, so we use Dup3 to replace it like arm64 and riscv64.

Updates #53301
Fixes #58784

Change-Id: I4e0be140a71b86f4626ed39d76cf3ac78f842018
Reviewed-on: https://go-review.googlesource.com/c/go/+/425478
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: WANG Xuerui <git@xen0n.name>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: xiaodong liu <teaofmoli@gmail.com>
Reviewed-by: WANG Xuerui <git@xen0n.name>
2023-04-12 20:06:37 +00:00
..
errors runtime: reimplement GODEBUG=cgocheck=2 as a GOEXPERIMENT 2023-02-16 00:16:24 +00:00
fortran misc/cgo/fortran: convert to Go test 2022-10-17 15:15:37 +00:00
gmp misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
life misc/cgo: gofmt 2023-04-10 22:32:33 +00:00
nocgo
stdio misc/cgo/{life,stdio}: remove reliance on test/run.go 2023-02-28 01:11:11 +00:00
test misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testcarchive misc/cgo: gofmt 2023-04-10 22:32:33 +00:00
testcshared cmd/internal/sys, cmd/dist, misc/cgo/testcshared: enable c-shared feature and test on loong64 2023-04-12 20:06:37 +00:00
testgodefs misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testplugin misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testsanitizers misc/cgo: gofmt 2023-04-10 22:32:33 +00:00
testshared misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testso misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testsovar misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testtls misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00