]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: do not explicitly link msvcrt.dll
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 11 Oct 2016 03:24:59 +0000 (14:24 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 11 Oct 2016 05:45:06 +0000 (05:45 +0000)
commitdd307da10c3582c195928d9bf073d1b0b01f2135
tree8a77194fed4bdbae1207ab9287e329894bcc8feb
parent8f65379f947f77f5caadf283f219b2cc6e9bdb84
runtime/cgo: do not explicitly link msvcrt.dll

CL 14472 solved issue #12030 by explicitly linking msvcrt.dll
to every cgo executable we build. This CL achieves the same
by manually loading ntdll.dll during startup.

Updates #12030

Change-Id: I5d9cd925ef65cc34c5d4031c750f0f97794529b2
Reviewed-on: https://go-review.googlesource.com/30737
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/cgo/cgo.go
src/runtime/os_windows.go