diff options
author | Ayke van Laethem <[email protected]> | 2024-06-27 18:27:28 +0200 |
---|---|---|
committer | Ayke <[email protected]> | 2024-06-27 21:11:11 +0200 |
commit | fae0402fdeba8a7d3a2e9b97019aeef7e3fae930 (patch) | |
tree | 2d40a7b1339f764f02f51a8d530e7605a54d8d6a /src/os/file_anyos.go | |
parent | 4517a0c17b207957f8c5506032c396f5f34950ba (diff) | |
download | tinygo-fae0402fdeba8a7d3a2e9b97019aeef7e3fae930.tar.gz tinygo-fae0402fdeba8a7d3a2e9b97019aeef7e3fae930.zip |
wasm-unknown: make sure the os package can be imported
See: https://github.com/tinygo-org/tinygo/issues/4314
The os package isn't particularly useful on wasm-unknown, but just like
on baremetal systems it's imported by a lot of packages so it should at
least be possible to import this package.
Diffstat (limited to 'src/os/file_anyos.go')
-rw-r--r-- | src/os/file_anyos.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/file_anyos.go b/src/os/file_anyos.go index 0436d1222..1483f11c2 100644 --- a/src/os/file_anyos.go +++ b/src/os/file_anyos.go @@ -1,4 +1,4 @@ -//go:build !baremetal && !js +//go:build !baremetal && !js && !wasm_unknown // Portions copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style |