syscall: add wasm_unknown to some additional files so it can compile more code

Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
deadprogram 2024-03-01 16:36:55 +01:00 коммит произвёл Ayke
родитель 14121f4b0e
коммит 1e13c6d18f
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1,4 +1,4 @@
//go:build baremetal || (wasm && !wasip1)
//go:build baremetal || (wasm && !wasip1) || wasm_unknown
// This file emulates some file-related functions that are only available
// under a real operating system.

Просмотреть файл

@ -1,4 +1,4 @@
//go:build !(baremetal || (wasm && !wasip1))
//go:build !(baremetal || (wasm && !wasip1) || wasm_unknown)
// This file assumes there is a libc available that runs on a real operating
// system.

Просмотреть файл

@ -1,4 +1,4 @@
//go:build baremetal || js
//go:build baremetal || js || wasm_unknown
package syscall

Просмотреть файл

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build baremetal || nintendoswitch || js
//go:build baremetal || nintendoswitch || js || wasm_unknown
package syscall