This website requires JavaScript.
Explore
Help
Sign In
jasder
/
runc
Watch
1
Star
0
Fork
You've already forked runc
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
251880b22d
runc
/
nsenter
/
nsenter_unsupported.go
6 lines
51 B
Go
Raw
Normal View
History
Unescape
Escape
Add unsupported file for cross compile Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-09 02:53:38 +08:00
// +build !linux !cgo
package
nsenter
Fix nsenter package on unsupported platforms. Commit 4d1d6185abda6a5d43eac75f77242488b81f8937 added this nsenter_unsupported.go file in order for nsenter to be a valid (but empty, non-functional) Go package on unsupported platforms. However, on such platforms, Go still complains because there exists a .c file in this folder, but the package doesn't use cgo. Fix that by importing "C" pseudo-package. Signed-off-by: Dmitri Shuralyov <shurcooL@gmail.com>
2015-05-16 08:03:04 +08:00
import
"C"