Incomplete cargo build options
HexyWitch opened this issue · comments
Lilith commented
Cargo supports a lot more build options that wasm-build should also support. This should just be a matter of piping them through.
Lilith commented
It supports most of them now.
These ones I don't know how to handle:
--example NAME Build only the specified example
--examples Build all examples
--test NAME Build only the specified test target
--tests Build all tests
--bench NAME Build only the specified bench target
--benches Build all benches
--color WHEN Coloring: auto, always, never
These ones need to be forced to wasm32-unknown-unknown
and json
.
--target TRIPLE Build for the target triple
--message-format FMT Error format: human, json [default: human]