]> git.proxmox.com Git - cargo.git/commit
Auto merge of #5816 - dwijnand:edtion-per-target, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 31 Jul 2018 17:10:10 +0000 (17:10 +0000)
committerbors <bors@rust-lang.org>
Tue, 31 Jul 2018 17:10:10 +0000 (17:10 +0000)
commit4b95e8c50e9e57a090948bdfe8f053bb16a45125
treef0a2d864c481039aa2da094ddc2e710026d76742
parentaf6e295d209dd9c9010017f83ff1ef22d6a16181
parent67c52ffe58b2374b2fb2aaed2435bf2fb0a7d8e6
Auto merge of #5816 - dwijnand:edtion-per-target, r=alexcrichton

Edition key should be per-target, not per-package

Fixes #5661

I've pushed this WIP PR as I'd love some early feedback on it and some tips on:

* how to best to make it fail if edition is set on a target, but the feature isn't set; and
* what tests this should include (i.e how exhaustive should I go)

Thanks!
src/cargo/core/compiler/fingerprint.rs
src/cargo/core/compiler/mod.rs
src/cargo/core/manifest.rs