I'm using cargo-component-component 0.6.0 (wasi:6613acd), the example[1] indicates the command below
cargo component new add --lib && cd add
and I get
error: unexpected argument '--lib' found
Do I use the older cargo component, or there has newer command to do so?
[1]: https://component-model.bytecodealliance.org/language-support/rust.html
Last updated: Feb 27 2025 at 23:03 UTC