aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2022-02-07 16:32:01 -0500
committerThan McIntosh <thanm@google.com>2022-03-31 15:59:22 +0000
commit5138401209a70475451561b18d2c6d92bda93810 (patch)
treee6c708ee4cb6e6bf710ffdbeb5e7e9cb27294354 /src/runtime/testdata
parent1edc2769ca5eb60293747c37e765bc56ce04d2da (diff)
downloadgo-5138401209a70475451561b18d2c6d92bda93810.tar.xz
runtime: remove use of -mnop-fun-dllimport from cgotest win.go
This flag is not supported by clang, so remove it from the cgo cflags when building for windows. It is clear that it was needed at some point in the past, but it doesn't appear to be needed at the moment, since all.bash passes on windows without it now. Updates #35006. Change-Id: Ib06c891f516654138e3363e06645cd187e46ce4e Reviewed-on: https://go-review.googlesource.com/c/go/+/383838 Trust: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/testdata')
-rw-r--r--src/runtime/testdata/testprogcgo/windows/win.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/testdata/testprogcgo/windows/win.go b/src/runtime/testdata/testprogcgo/windows/win.go
index 12488aa658..9d9f86c9be 100644
--- a/src/runtime/testdata/testprogcgo/windows/win.go
+++ b/src/runtime/testdata/testprogcgo/windows/win.go
@@ -1,8 +1,6 @@
package windows
/*
-#cgo amd64 386 CFLAGS: -mnop-fun-dllimport
-
#include <windows.h>
DWORD agetthread() {