mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 04:49:04 +00:00
internal/{cm,wasi}: regenerate WASI 0.2 bindings with wasm-tools-go v0.3.0
This commit is contained in:
@@ -26,10 +26,6 @@ func GetEnvironment() (result cm.List[[2]string]) {
|
||||
return
|
||||
}
|
||||
|
||||
//go:wasmimport wasi:cli/environment@0.2.0 get-environment
|
||||
//go:noescape
|
||||
func wasmimport_GetEnvironment(result *cm.List[[2]string])
|
||||
|
||||
// GetArguments represents the imported function "get-arguments".
|
||||
//
|
||||
// Get the POSIX-style arguments to the program.
|
||||
@@ -42,10 +38,6 @@ func GetArguments() (result cm.List[string]) {
|
||||
return
|
||||
}
|
||||
|
||||
//go:wasmimport wasi:cli/environment@0.2.0 get-arguments
|
||||
//go:noescape
|
||||
func wasmimport_GetArguments(result *cm.List[string])
|
||||
|
||||
// InitialCWD represents the imported function "initial-cwd".
|
||||
//
|
||||
// Return a path that programs should use as their initial current working
|
||||
@@ -58,7 +50,3 @@ func InitialCWD() (result cm.Option[string]) {
|
||||
wasmimport_InitialCWD(&result)
|
||||
return
|
||||
}
|
||||
|
||||
//go:wasmimport wasi:cli/environment@0.2.0 initial-cwd
|
||||
//go:noescape
|
||||
func wasmimport_InitialCWD(result *cm.Option[string])
|
||||
|
||||
Reference in New Issue
Block a user