cargo-component
cargo-component copied to clipboard
Respect build target from cargo config
This patch reads the project's Cargo configuration and uses the build target specified in it. This ensures that cargo component build
will respect the target configuration in the .cargo/config.toml
file and the value of the CARGO_BUILD_TARGET
environment variable.
close https://github.com/bytecodealliance/cargo-component/issues/106 close https://github.com/bytecodealliance/cargo-component/issues/290
cc @calvinrp