From: bors Date: Wed, 7 Dec 2016 08:11:16 +0000 (+0000) Subject: Auto merge of #3361 - pwoolcoc:default-build-script, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~92 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=333a79884d2463b11f279d815284b6406656c949;p=cargo.git Auto merge of #3361 - pwoolcoc:default-build-script, r=alexcrichton Assume `build.rs` in the same directory as `Cargo.toml` is a build script (unless explicitly told not to) So, in May I posted a question in the #cargo IRC room: https://botbot.me/mozilla/cargo/2016-05-26/?msg=66770068&page=1 This PR does what was discussed there. If `cargo` sees a `build.rs` in the same directory as the `Cargo.toml`, it will assume `build.rs` is a build script unless `package.build = false`. Just for completeness I also made `build = true` mean the same as `build = "build.rs"` but I'm not sure if that is okay or not. --- 333a79884d2463b11f279d815284b6406656c949