mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 12:29:03 +00:00
internal/{cm,wasi}: regenerate WASI 0.2 bindings with wasm-tools-go v0.3.0
This commit is contained in:
@@ -43,10 +43,6 @@ func (self Error) ResourceDrop() {
|
||||
return
|
||||
}
|
||||
|
||||
//go:wasmimport wasi:io/error@0.2.0 [resource-drop]error
|
||||
//go:noescape
|
||||
func wasmimport_ErrorResourceDrop(self0 uint32)
|
||||
|
||||
// ToDebugString represents the imported method "to-debug-string".
|
||||
//
|
||||
// Returns a string that is suitable to assist humans in debugging
|
||||
@@ -65,7 +61,3 @@ func (self Error) ToDebugString() (result string) {
|
||||
wasmimport_ErrorToDebugString((uint32)(self0), &result)
|
||||
return
|
||||
}
|
||||
|
||||
//go:wasmimport wasi:io/error@0.2.0 [method]error.to-debug-string
|
||||
//go:noescape
|
||||
func wasmimport_ErrorToDebugString(self0 uint32, result *string)
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
||||
|
||||
package ioerror
|
||||
|
||||
// This file contains wasmimport and wasmexport declarations for "wasi:io@0.2.0".
|
||||
|
||||
//go:wasmimport wasi:io/error@0.2.0 [resource-drop]error
|
||||
//go:noescape
|
||||
func wasmimport_ErrorResourceDrop(self0 uint32)
|
||||
|
||||
//go:wasmimport wasi:io/error@0.2.0 [method]error.to-debug-string
|
||||
//go:noescape
|
||||
func wasmimport_ErrorToDebugString(self0 uint32, result *string)
|
||||
Reference in New Issue
Block a user