Skip to content

Commit 1e13c6d

Browse files
deadprogramaykevl
authored andcommitted
syscall: add wasm_unknown to some additional files so it can compile more code
Signed-off-by: deadprogram <[email protected]>
1 parent 14121f4 commit 1e13c6d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/syscall/file_emulated.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build baremetal || (wasm && !wasip1)
1+
//go:build baremetal || (wasm && !wasip1) || wasm_unknown
22

33
// This file emulates some file-related functions that are only available
44
// under a real operating system.

src/syscall/file_hosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !(baremetal || (wasm && !wasip1))
1+
//go:build !(baremetal || (wasm && !wasip1) || wasm_unknown)
22

33
// This file assumes there is a libc available that runs on a real operating
44
// system.

src/syscall/syscall_nonhosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build baremetal || js
1+
//go:build baremetal || js || wasm_unknown
22

33
package syscall
44

src/syscall/tables_nonhosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build baremetal || nintendoswitch || js
5+
//go:build baremetal || nintendoswitch || js || wasm_unknown
66

77
package syscall
88

0 commit comments

Comments
 (0)