containerd / runwasi

Facilitates running Wasm / WASI workloads managed by containerd
Apache License 2.0
1.02k stars 84 forks source link

How to pass arguments to wasm component exported functions? #414

Open Mossaka opened 7 months ago

jsturtevant commented 7 months ago

What are the args we setup in the wasi_context?

   let mut wasi_preview2_builder = wasi_preview2::WasiCtxBuilder::new();
    wasi_preview2_builder
        .args(ctx.args())

Are those distinct from the args of the function?