Skip to content

Commit

Permalink
Add new format go build line for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Feb 17, 2024
1 parent e09566c commit 30463e4
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions transport/connipc_posix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

// Copyright 2020 The Mangos Authors
Expand Down
1 change: 1 addition & 0 deletions transport/connipc_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

// Copyright 2020 The Mangos Authors
Expand Down
1 change: 1 addition & 0 deletions transport/ipc/ipc_peer_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux
// +build linux

// Copyright 2020 The Mangos Authors
Expand Down
1 change: 1 addition & 0 deletions transport/ipc/ipc_peer_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux
// +build linux

package ipc
Expand Down
1 change: 1 addition & 0 deletions transport/ipc/ipc_peer_solaris.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build solaris && cgo
// +build solaris,cgo

// Copyright 2020 The Mangos Authors
Expand Down
1 change: 1 addition & 0 deletions transport/ipc/ipc_peer_solaris_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build solaris && cgo
// +build solaris,cgo

package ipc
Expand Down
3 changes: 2 additions & 1 deletion transport/ipc/ipc_peer_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build (!linux && !windows && !plan9 && !js && !solaris) || (solaris && !cgo)
// +build !linux,!windows,!plan9,!js,!solaris solaris,!cgo

// Copyright 2020 The Mangos Authors
Expand All @@ -23,5 +24,5 @@ import (
"net"
)

func getPeer(c *net.UnixConn, pipe transport.ConnPipe) {
func getPeer(c *net.UnixConn, pipe transport.ConnPipe) {
}
1 change: 1 addition & 0 deletions transport/ipc/ipc_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

// Copyright 2020 The Mangos Authors
Expand Down
1 change: 1 addition & 0 deletions transport/ipc/ipc_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build windows
// +build windows

package ipc
Expand Down

0 comments on commit 30463e4

Please sign in to comment.