carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package layout
4
5// syscallNofollow and syscallNonblock are no-ops off Linux, so the package
6// builds on darwin and windows (the agent itself only ever runs on Linux;
7// this keeps cross-compiled builds of the rest of the binary working). No
8// golang.org/x/sys/unix import here: that package does not build for
9// windows, and this file must.
10const (
11 syscallNofollow = 0
12 syscallNonblock = 0
13)
14