Override target crate-type for cargo rustc --crate-type
#10388
Merged
cargo rustc --crate-type
#10388