]> Cypherpunks repositories - gostls13.git/commit
runtime: remove use of -mnop-fun-dllimport from cgotest win.go
authorThan McIntosh <thanm@google.com>
Mon, 7 Feb 2022 21:32:01 +0000 (16:32 -0500)
committerThan McIntosh <thanm@google.com>
Thu, 31 Mar 2022 15:59:22 +0000 (15:59 +0000)
commit5138401209a70475451561b18d2c6d92bda93810
treee6c708ee4cb6e6bf710ffdbeb5e7e9cb27294354
parent1edc2769ca5eb60293747c37e765bc56ce04d2da
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>
src/runtime/testdata/testprogcgo/windows/win.go