From: Than McIntosh Date: Mon, 7 Feb 2022 21:32:01 +0000 (-0500) Subject: runtime: remove use of -mnop-fun-dllimport from cgotest win.go X-Git-Tag: go1.19beta1~845 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5138401209a70475451561b18d2c6d92bda93810;p=gostls13.git 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 Reviewed-by: Alex Brainman Trust: Than McIntosh Run-TryBot: Than McIntosh TryBot-Result: Gopher Robot --- 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 DWORD agetthread() {