mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
prompted by #27693
parent
16df3fbec8
commit
35515bc598
8
cgo.md
8
cgo.md
@ -324,4 +324,10 @@ in the preamble (see above for a complete example).
|
||||
|
||||
### Windows
|
||||
|
||||
In order to use cgo on Windows, you'll also need to first install a gcc compiler (for instance, mingw-w64) and have gcc.exe (etc.) in your PATH environment variable before compiling with cgo will work.
|
||||
In order to use cgo on Windows, you'll also need to first install a gcc compiler (for instance, mingw-w64) and have gcc.exe (etc.) in your PATH environment variable before compiling with cgo will work.
|
||||
|
||||
### environmental variables
|
||||
Go doesn't see variables set by C.setenv
|
||||
|
||||
### tests
|
||||
_test.go files can't use cgo.
|
Loading…
x
Reference in New Issue
Block a user