Hi, I did a component.
When trying to using it through wasmtime, I get component import instance wasi:random/random@0.3.0-rc-2026-01-06 but a matching implementation was not found in the linker
I add import wasi:random/random@0.3.0-rc-2026-01-06 into my world but I guess there is something else to do?
I look into https://component-model.bytecodealliance.org/ but found nothing
Which version of wasmtime are you using and did you compile the wasmtime-wasi crate with the p3 cargo feature enabled? It probably doesn't support this version of the wasip3 release candidate or wasip3 support was disabled. I think the next Wasmtime version will support the stable release of wasip3.
I use wasmtime 45.0.0 and wasmtime_wasi without any feature enabled
cargo 1.98.0-nightly (fe63976b2 2026-06-11) (built from a source tarball)
Try enabling the p3 feature on wasmtime-wasi.
Still get the issue with p3 feature
I believe wasmtime 45.0.0 was using a difference dated rc snapshot of wasip3, so you'll need to hunt around your dependency try for what's pulling in 2026-01-06 and probably update that
I try with wasmtime main branch and get same issue.
May I have to downgrade instead?
You will need to make sure that wasmtime and whichever dependency uses wasi:random/random use the exact same wasip3 snapshot or if you use the wasmtime main branch, you have to update this dependency to use the actually released version of wasip3.
So I have to check which deps from my component use random crate? ?
Last updated: Jul 29 2026 at 05:03 UTC