mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 05:23:40 +00:00
0087d4c6bf
Instead of using fake tables for errno and others, use the ones that correspond to wasi-libc.
9 lines
148 B
Go
9 lines
148 B
Go
//go:build wasip1 || js
|
|
|
|
package syscall
|
|
|
|
// Use a go:extern definition to access the errno from wasi-libc
|
|
//
|
|
//go:extern errno
|
|
var libcErrno Errno
|