global: add new go 1.17 build comments

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2021-09-05 16:00:43 +02:00
parent 3957e9b9dd
commit 2ef39d4754
13 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows // +build !linux,!windows
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build !linux && !openbsd && !freebsd
// +build !linux,!openbsd,!freebsd // +build !linux,!openbsd,!freebsd
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build linux || openbsd || freebsd
// +build linux openbsd freebsd // +build linux openbsd freebsd
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build !android && !ios && !windows
// +build !android,!ios,!windows // +build !android,!ios,!windows
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build ios
// +build ios // +build ios
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,4 +1,5 @@
//+build !race //go:build !race
// +build !race
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT
* *

View file

@ -1,4 +1,5 @@
//+build race //go:build race
// +build race
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT
* *

View file

@ -1,3 +1,4 @@
//go:build !linux
// +build !linux // +build !linux
package device package device

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || openbsd
// +build darwin freebsd openbsd // +build darwin freebsd openbsd
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build linux || darwin || freebsd || openbsd
// +build linux darwin freebsd openbsd // +build linux darwin freebsd openbsd
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows // +build !windows
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows // +build !windows
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows // +build !windows
/* SPDX-License-Identifier: MIT /* SPDX-License-Identifier: MIT