You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cargo component add produces binaries using the unlocked-dep import syntax, which is not supported yet. Not runnable or parsable in today's tools. There are a number of things to figure out to get that feature supported, which I'd also like to move forward with.
I'm considering revising cargo component add behavior to produce binaries that can be used today.
Say you have a component package (an implementation not a pure wit package) that you'd like to use as a library in your component. cargo component add example:library would set you up with the bindings to use it. Then when you, cargo component build, the outputted binary includes the composed dependency and would be usable in current released tooling.
The text was updated successfully, but these errors were encountered:
Currently,
cargo component add
produces binaries using theunlocked-dep
import syntax, which is not supported yet. Not runnable or parsable in today's tools. There are a number of things to figure out to get that feature supported, which I'd also like to move forward with.I'm considering revising
cargo component add
behavior to produce binaries that can be used today.Say you have a component package (an implementation not a pure
wit
package) that you'd like to use as a library in your component.cargo component add example:library
would set you up with the bindings to use it. Then when you,cargo component build
, the outputted binary includes the composed dependency and would be usable in current released tooling.The text was updated successfully, but these errors were encountered: