containerd / containerd/runwasi

Version mismatch problem when using wasmtime and containerd-shim-wasm

Open
#1,067 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.3k
Forks
131
PR merge metrics
No merged PRs in 30d

Description

I try to use wasmtime = "41.0.3" and containerd-shim-wasm = "1.0.0".
This leads to `error[E0308]: mismatched types` for `libcontainer::oci_spec::runtime::Spec`
I looked into it, and I think some of the workspace dependencies are not pinned to a specific version.
I could solve that problem with this [PR](https://github.com/containerd/runwasi/pull/1066).

Contributor guide

Open the contributing guide

Research direction

Reproduce the mismatch using wasmtime 41.0.3 and containerd-shim-wasm 1.0.0, then compare the workspace dependency declarations with the proposed changes in PR 1066. Done means the reported Spec type error no longer occurs with those versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.