plugin: fix rust pdk wit template probes
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package yoi:host@1.0.0;
|
||||
|
||||
/// Grant-bound HTTPS host API. Importing this interface does not grant
|
||||
/// authority; package grants are checked before registration/execution and on
|
||||
/// every host call.
|
||||
interface https {
|
||||
request: func(request-json: string) -> string;
|
||||
}
|
||||
|
||||
/// Grant-bound filesystem host API. No ambient WASI filesystem is exposed.
|
||||
interface fs {
|
||||
read: func(request-json: string) -> string;
|
||||
%list: func(request-json: string) -> string;
|
||||
write: func(request-json: string) -> string;
|
||||
}
|
||||
Reference in New Issue
Block a user