Stream: cargo-component

Topic: Supporting `with`


view this post on Zulip Sehz (Mar 05 2024 at 22:21):

Does cargo component support something with as in the like https://docs.rs/wit-bindgen/0.21.0/wit_bindgen/macro.generate.html? I have WIT that imports package but also need to use a rust crate that uses binding from dependent pkg. Result is compilation error because there are two rust binding instead they should be a using a common binding

view this post on Zulip Peter Huene (Mar 05 2024 at 22:58):

Not currently, but we should add that. I see you opened https://github.com/bytecodealliance/cargo-component/issues/225. I'll see if I can get to it tomorrow.

Implement same capability bytecodealliance/wit-bindgen#825.

view this post on Zulip Sehz (Mar 05 2024 at 23:03):

That will be great. Thanks


Last updated: Oct 23 2024 at 20:03 UTC