Skip to content

Commit

Permalink
adjust target os specific build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
leongross committed Oct 4, 2024
1 parent 0e21b72 commit b022127
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/runtime/netpoll.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build linux

package runtime

// For debugging purposes this is used for all target architectures, but this is only valid for linux systems.
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/netpoll_generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (js && wasm) || wasip1 || windows
//go:build !linux

package runtime

Expand Down
4 changes: 2 additions & 2 deletions src/syscall/forklock_tinygo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build tinygo
//go:build tinygo && linux

package syscall

Expand Down Expand Up @@ -35,4 +35,4 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
return system.SetNonblock(fd, nonblocking)
}

type SysProcAttr struct{}
// type SysProcAttr struct{}

0 comments on commit b022127

Please sign in to comment.