syscall: add wasm_unknown to some additional files so it can compile more code
Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
родитель
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
|
// This file emulates some file-related functions that are only available
|
||||||
// under a real operating system.
|
// 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
|
// This file assumes there is a libc available that runs on a real operating
|
||||||
// system.
|
// system.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build baremetal || js
|
//go:build baremetal || js || wasm_unknown
|
||||||
|
|
||||||
package syscall
|
package syscall
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build baremetal || nintendoswitch || js
|
//go:build baremetal || nintendoswitch || js || wasm_unknown
|
||||||
|
|
||||||
package syscall
|
package syscall
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче