named-data / YaNFD

Yet another Named Data Networking Forwarding Daemon
https://pkg.go.dev/github.com/named-data/YaNFD
MIT License
13 stars 10 forks source link

Allow building without cgo #7

Closed yoursunny closed 3 years ago

yoursunny commented 3 years ago

It is sometimes desirable to build with cgo disabled, so that the result binary is cross platform. For example, a non-cgo binary built for Linux would work on any Linux distribute, as it has no dependency on C libraries such as libpcap. Moreover, a non-cgo binary can be packaged as a minimal-size Docker image that only contains the binary itself and nothing else.

yoursunny commented 3 years ago

@eric135 can you review?

zjkmxy commented 3 years ago

@eric135 can you review?

Sorry but we are experiencing the quarter end and Eric is super busy with his TA work. I would appreciate your understanding. Let me review your commits when I am available.