]> git.proxmox.com Git - cargo.git/commit
Parse `unsupported crate type` error more tightly
authorPhilipp Oppermann <dev@phil-opp.com>
Mon, 16 Sep 2019 07:29:59 +0000 (09:29 +0200)
committerPhilipp Oppermann <dev@phil-opp.com>
Mon, 16 Sep 2019 07:29:59 +0000 (09:29 +0200)
commitb12bd383716bed76d47b657bc11200d7d9ddb1fa
tree7a1d80f3874c272e09ba198a6945aa5ccaf77e6b
parent59f50abc4ca3b9cc4594e6601f84107d2d454e34
Parse `unsupported crate type` error more tightly

This avoids issues when the target name contains the crate type, e.g. `bin` in `custom-bin-target.json`.
src/cargo/core/compiler/build_context/target_info.rs