]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: disable TestPIESize if CGO isn't enabled
authorNehal J Wani <nehaljw.kkd1@gmail.com>
Tue, 26 Jan 2021 16:29:05 +0000 (16:29 +0000)
committerCherry Zhang <cherryyz@google.com>
Mon, 1 Feb 2021 15:52:59 +0000 (15:52 +0000)
commit26e29aa15a189b26d3b2400a594d329368e78e79
treea2b8d243f8358b18c6b0d747c5d6b9d8f12081f2
parent6ac91e460c294bda5a50e628b7556bf20525fa44
cmd/link: disable TestPIESize if CGO isn't enabled

With CGO disabled, the test throws the following error:

elf_test.go:291: # command-line-arguments
    loadinternal: cannot find runtime/cgo

Change-Id: Iaeb183562ab637c714240b49e73078bdb791b35b
GitHub-Last-Rev: f8fe9afad5611411966413d17cb5874f7b0018a0
GitHub-Pull-Request: golang/go#43911
Reviewed-on: https://go-review.googlesource.com/c/go/+/286632
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
src/cmd/link/elf_test.go