diff --git a/gen/wasi/logging/logging/logging.wit.go b/gen/wasi/logging/logging/logging.wit.go index 15b6e95..c9d2655 100644 --- a/gen/wasi/logging/logging/logging.wit.go +++ b/gen/wasi/logging/logging/logging.wit.go @@ -1,6 +1,6 @@ // Code generated by wit-bindgen-go. DO NOT EDIT. -// Package logging represents the imported interface "wasi:logging/logging". +// Package logging represents the imported interface "wasi:logging/logging@0.1.0-draft". // // WASI Logging is a logging API intended to let users emit log messages with // simple priority levels and context values. @@ -10,7 +10,7 @@ import ( "github.com/bytecodealliance/wasm-tools-go/cm" ) -// Level represents the enum "wasi:logging/logging#level". +// Level represents the enum "wasi:logging/logging@0.1.0-draft#level". // // A log level, describing a kind of message. // @@ -81,6 +81,6 @@ func Log(level Level, context string, message string) { return } -//go:wasmimport wasi:logging/logging log +//go:wasmimport wasi:logging/logging@0.1.0-draft log //go:noescape func wasmimport_Log(level0 uint32, context0 *uint8, context1 uint32, message0 *uint8, message1 uint32) diff --git a/wit/deps/wasi-logging-0.1.0-draft/package.wit b/wit/deps/wasi-logging-0.1.0-draft/package.wit index df4e8de..164cb5b 100644 --- a/wit/deps/wasi-logging-0.1.0-draft/package.wit +++ b/wit/deps/wasi-logging-0.1.0-draft/package.wit @@ -1,4 +1,4 @@ -package wasi:logging; +package wasi:logging@0.1.0-draft; /// WASI Logging is a logging API intended to let users emit log messages with /// simple priority levels and context values. diff --git a/wit/world.wit b/wit/world.wit index f881ff8..89b8e3c 100644 --- a/wit/world.wit +++ b/wit/world.wit @@ -10,7 +10,7 @@ world imports { include wasi:cli/imports@0.2.0; // wasi - import wasi:logging/logging; + import wasi:logging/logging@0.1.0-draft; import wasi:config/runtime@0.2.0-draft; import wasi:http/outgoing-handler@0.2.0;