aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/os/stat_other.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-02-03 19:21:17 +0100
committerRon Evans <[email protected]>2022-02-04 07:49:46 +0100
commit77ec9b63698ebd1f21509cdd758a90edbd6e4916 (patch)
tree9ed277658ce7bb4b61637a568ee30759baf53862 /src/os/stat_other.go
parentaa8e0bb509f3e9649543a1906db040dea11f67ad (diff)
downloadtinygo-77ec9b63698ebd1f21509cdd758a90edbd6e4916.tar.gz
tinygo-77ec9b63698ebd1f21509cdd758a90edbd6e4916.zip
all: update build constraints to Go 1.17
Do it all at once in preparation for Go 1.18 support. To make this commit, I've simply modified the `fmt-check` Makefile target to rewrite files instead of listing the differences. So this is a fully mechanical change, it should not have introduced any errors.
Diffstat (limited to 'src/os/stat_other.go')
-rw-r--r--src/os/stat_other.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/stat_other.go b/src/os/stat_other.go
index 53555cef6..5b574abba 100644
--- a/src/os/stat_other.go
+++ b/src/os/stat_other.go
@@ -1,4 +1,5 @@
-// +build baremetal wasm,!wasi
+//go:build baremetal || (wasm && !wasi)
+// +build baremetal wasm,!wasi
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style