containers / youki

A container runtime written in Rust
https://containers.github.io/youki/
Apache License 2.0
6k stars 332 forks source link

update wasmtime dep to 19.0.1, replace wasmtime-wasi with wasi-common #2752

Closed YJDoc2 closed 2 months ago

YJDoc2 commented 2 months ago

Updates the wasmtime dep to 19.0.1. The functions that we use from wasmtime-wasi were deprecated from that crate, and instead moved to wasi-common crate, see deprecation notice on 18.0.3 here . Thus replaced wasmtime-wasi with wasi-common.

This replaces dependabot PRs #2735 and #2750 .

I also request the reviewer to actually run a wasm container using wasi on this branch and validate it works, as we still don't have enough testing around wasm.