Use unix build constraint.

Now that we floor on Go 1.19, take advantage of the unix build constraint:
https://tip.golang.org/doc/go1.19#go-unix

Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
This commit is contained in:
Nuno Cruces
2023-08-09 11:46:04 +01:00
parent f740e28169
commit fa11db75a6
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
//go:build unix || linux || darwin
//go:build unix
package wasi_snapshot_preview1_test

View File

@@ -1,4 +1,4 @@
//go:build unix || darwin || linux
//go:build unix
package sysfs

View File

@@ -1,4 +1,4 @@
//go:build !unix && !linux && !darwin && !windows
//go:build !unix && !windows
package sysfs