Cannot cross compile
Closed this issue · 1 comments
prestonvanloon commented
From master on linux amd64, trying to build for darwin.
GOOS=darwin go build .
go: finding golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7
# github.com/rjeczalik/notify
./watcher_fsevents.go:49:11: undefined: stream
rjeczalik commented
Darwin build uses CGo, which does not support cross-compilation.