Skip to content

wasi-virt throws error in wasm-compose (redirected from wasi-virt to Wasm-tools) #1565

Open
@thesuhas

Description

@thesuhas

Hi,

I'm trying to use wasi-virt with a micro service that I have written in rust. I want to give it a pre-opened file directory so that I can read a json file.
I am using this command: wasi-virt --debug --stderr=allow composed-cinema.wasm --preopen microservices/cinema-1/users=/data --allow-http -o virt-cinema.wasm
And I get the following error:
image

It seems to be an error in wasm-compose. For some additional context, the micro service was composed by using the [email protected] draft from here.

I initially posted this in wasi-virt but was redirected here as it was an issue stemming from wasm-tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasm-composeIssues related to the `wasm-compose` crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions