Skip to content

Commit 8469b5c

Browse files
committed
chore: minor tweak for tinygo
There are still reflection issues, but it's a step.
1 parent fcd2346 commit 8469b5c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

guesswidth.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//go:build appengine || (!linux && !freebsd && !darwin && !dragonfly && !netbsd && !openbsd)
2-
// +build appengine !linux,!freebsd,!darwin,!dragonfly,!netbsd,!openbsd
1+
//go:build tinygo || appengine || (!linux && !freebsd && !darwin && !dragonfly && !netbsd && !openbsd)
32

43
package kong
54

guesswidth_unix.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//go:build (!appengine && linux) || freebsd || darwin || dragonfly || netbsd || openbsd
2-
// +build !appengine,linux freebsd darwin dragonfly netbsd openbsd
1+
//go:build !tinygo && ((!appengine && linux) || freebsd || darwin || dragonfly || netbsd || openbsd)
32

43
package kong
54

0 commit comments

Comments
 (0)