containerd/vendor/github.com/Microsoft/hcsshim/cgo.go

8 lines
268 B
Go
Raw Normal View History

package hcsshim
import "C"
// This import is needed to make the library compile as CGO because HCSSHIM
// only works with CGO due to callbacks from HCS comming back from a C thread
// which is not supported without CGO. See https://github.com/golang/go/issues/10973