[Pkg-rust-maintainers] dh-cargo_5_source.changes ACCEPTED into unstable
Ximin Luo
infinity0 at debian.org
Tue Jun 19 04:04:00 BST 2018
Josh Triplett:
> On Mon, Jun 18, 2018 at 08:25:14AM +0000, Debian FTP Masters wrote:
>> * Pass `--cap-lints warn` in rustflags to avoid builds breaking when rustc
>> adds new warnings.
>
> What is the rationale for this? Rust already does this for dependent
> crates. And I don't think it makes sense to do it for the top-level
> crate.
>
We test-build the thing in dh_auto_test (with "cargo build") and it breaks otherwise.
I do think it's good to do it even for "cargo install" because compiler warnings change and I don't want that to break old crates. For well-maintained crates it's a useful signal for the crate developer, but it's a hindrance for us when the crate gets old and we have a newer compiler.
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-rust-maintainers
mailing list