diff --git a/os_windows.go b/os_non_unix.go similarity index 55% rename from os_windows.go rename to os_non_unix.go index daf4c77..b5ef86d 100644 --- a/os_windows.go +++ b/os_non_unix.go @@ -1,6 +1,6 @@ package lua func clock(l *State) int { - Errorf(l, "os.clock not yet supported on Windows") + Errorf(l, "os.clock not yet supported") panic("unreachable") } diff --git a/unix.go b/unix.go index 0c65651..c1d7db3 100644 --- a/unix.go +++ b/unix.go @@ -1,4 +1,4 @@ -// +build !windows +// +build !windows,!wasm package lua