diff options
author | Ayke van Laethem <[email protected]> | 2024-06-22 17:04:44 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-08-17 11:49:14 +0200 |
commit | 7e284a37fccc970e05db124863c66c26c8e0ff40 (patch) | |
tree | a4eabbfeccc21caac40a34efa39a40eb58002f00 /src | |
parent | b6c53a6f0e4b4adca49a2011698bbb690c688eb9 (diff) | |
download | tinygo-7e284a37fccc970e05db124863c66c26c8e0ff40.tar.gz tinygo-7e284a37fccc970e05db124863c66c26c8e0ff40.zip |
ci: use Go 1.23
Diffstat (limited to 'src')
-rw-r--r-- | src/syscall/syscall_libc_darwin.go | 1 | ||||
-rw-r--r-- | src/syscall/syscall_libc_wasi.go | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/syscall/syscall_libc_darwin.go b/src/syscall/syscall_libc_darwin.go index f0d297a77..3b0341880 100644 --- a/src/syscall/syscall_libc_darwin.go +++ b/src/syscall/syscall_libc_darwin.go @@ -55,6 +55,7 @@ const ( F_GETFL = 0x3 F_SETFL = 0x4 O_NONBLOCK = 0x4 + TIOCSPGRP = 0x80047476 ) // Source: https://opensource.apple.com/source/xnu/xnu-7195.141.2/bsd/sys/errno.h.auto.html diff --git a/src/syscall/syscall_libc_wasi.go b/src/syscall/syscall_libc_wasi.go index 2d83a8714..06169bb2b 100644 --- a/src/syscall/syscall_libc_wasi.go +++ b/src/syscall/syscall_libc_wasi.go @@ -104,6 +104,9 @@ const ( // ../../lib/wasi-libc/expected/wasm32-wasi/predefined-macros.txt F_GETFL = 3 F_SETFL = 4 + + // ../../lib/wasi-libc/libc-top-half/musl/arch/generic/bits/ioctl.h + TIOCSPGRP = 0x5410 ) // These values are needed as a stub until Go supports WASI as a full target. @@ -114,6 +117,7 @@ const ( SYS_FCNTL SYS_FCNTL64 SYS_FSTATAT64 + SYS_IOCTL SYS_OPENAT SYS_UNLINKAT PATH_MAX = 4096 |