We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5ee70 commit fba90c9Copy full SHA for fba90c9
src/cmd/go/internal/script/cmds_other.go renamed to src/cmd/go/internal/script/cmds_nonunix.go
@@ -2,10 +2,11 @@
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
-//go:build !(unix || windows)
+//go:build !unix
6
7
package script
8
9
func isETXTBSY(err error) bool {
10
+ // syscall.ETXTBSY is only meaningful on Unix platforms.
11
return false
12
}
src/cmd/go/internal/script/cmds_posix.go renamed to src/cmd/go/internal/script/cmds_unix.go
@@ -2,7 +2,7 @@
-//go:build unix || windows
+//go:build unix
0 commit comments