How do I use wasmtime as a git dependency? This is my config rn but wasmtime does not seem to be in the worspace toml:
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "e9ca2ff79", features = [
"component-model",
] }
that should work yeah, but is it not? If you have multiple crates to depend on, such as wasmtime-wasi
as well, it'd need to list the same git
and rev
too
(and all other wasmtime
deps would need to mention that)
This is the error I'm getting.
Screenshot-2024-04-11-at-23.54.51.png
Screenshot-2024-04-11-at-23.55.19.png
that commit you're referencing appears to be a gh-pages deployment?
how'd you get that rev?
Oh. I actually have a clone of wasmtime on my machine so I just chose the latest commit I could see
Could that be the problem?
Do you have a
[dependencies]
wasmtime = { workspace = true }
@Alex Crichton I had the --all flag set on my git log command. I have switched to a commit on main wc fixed it.
Thanks for the help.
Last updated: Dec 23 2024 at 12:05 UTC