[Pkg-rust-maintainers] Bug#998027: Bug#998027: rust-smallvec: autopkgtest regression: #![feature]` may not be used on the stable release channel

Paul Gevers elbrus at debian.org
Thu Oct 28 21:12:03 BST 2021


Hi Peter,

Thanks for the analysis.

On 28-10-2021 21:29, peter green wrote:
> Possible ways forward.
> 
> 1. Do nothing, wait for the issue to go away when the new rustc makes it
> into testing.
>    (currently blocked by issues in llvm and libmodulemd (via meson))
> 2. Add breaks, in some ways this is the correct soloution, but given
> that britney does
>    not properly enforce build-dependencies I fear it could cause more
> problems than it
>    solves (i.e. ending up with version of librust-smallvec-dev and rustc
> in testing that
>    are individually installable but not co-installable).
> 3. Revert the removal of " #![cfg_attr(feature = "const_generics",
> feature(min_const_generics))]"
>    in upstream commit
> https://github.com/servo/rust-smallvec/commit/2964a8469be212f6abbb05758cabe6416d144580
> 
>    this would allow the code to be used on old compilers in nightly
> mode, but afaict would mean it couldn't
>    be used in regular mode on newer compilers.
> 4. Set the test_is_broken flag for the const_generics and const_new
> features, as far
>    as I can tell no applications in Debian use those features.
> 
> Personally I'm in favor of option 1.

I don't mind 1.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20211028/45bddddf/attachment.sig>


More information about the Pkg-rust-maintainers mailing list