[Pkg-rust-maintainers] dh-cargo_5_source.changes ACCEPTED into unstable
infinity0 at debian.org
Tue Jun 19 04:04:00 BST 2018
> 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
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.
More information about the Pkg-rust-maintainers