Fix the build with bitflags-1.3.0 and newer#1492
Conversation
These ranges of rustc are pickier about where to place an #[allow(unused_doc_comments)] attribute. It caused warnings when building for BSD-based targets.
Bitflags raised its MSRV in a minor version, forcing all consumers to follow suit. Fixes nix-rust#1491
269b8f8 to
5495bbc
Compare
Constify more functions, since we're raising the MSRV from 1.41.0 to 1.46.0. Fixes nix-rust#1477
Not to be combative, but an alternative way to say this is that Leaving the existing constraint in place and generating a lockfile with minimal versions would allow applications building with older cargo +nightly -Z minimal-versions generate-lockfile |
|
Oh wow, I did not look at the code in this PR at all, sorry for that! It looks like this PR does raise the MSRV for Sorry. I'm embarrassed. |
|
Yes, that's right. Nix raised its MSRV on the master branch, but locked bitflags to < 1.3.0 in the point releases. |
Bitflags raised its MSRV in a minor version, forcing all consumers to follow suit.
Fixes #1491