mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated cgo (markdown)
parent
35515bc598
commit
a12635222a
3
cgo.md
3
cgo.md
@ -327,7 +327,8 @@ in the preamble (see above for a complete example).
|
||||
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
|
||||
Go os.Getenv() 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