[Pkg-rust-maintainers] Bug#1079152: rust-criterion: Bootstraping rust-spin/criterion
Peter Green
plugwash-urgent at p10link.net
Tue Aug 20 16:32:02 BST 2024
> Samuel Thibault, le mar. 20 août 2024 16:15:30 +0200, a ecrit:
>> Currently:
>>
>> - rust-spin build-depends on librust-criterion-0.5+default-dev
>> - librust-criterion-dev depends on librust-plotters-0.3+{area,line,svg}-series-dev
>> - librust-plotters-dev depends on librust-lazy-static-1+default-dev
>> - librust-lazy-static-dev depends on librust-spin-0.9+default-dev
>>
>> So we have a bootstrapping loop.
>>
>> Could rust-criterion perhaps provide a build profile that avoids the
>> plotters dependency? (I guess that just disables some output features)
>
> Ah, no, it's an arch:all package, so that won't really fly.
>
> Not sure how to best handle this. Perhaps the optionality of the
> plotters feature can be expressed for rust-spin to be able to disable
> it?
I've added a <!nocheck> annotation to the build-dependency in rust-spin,
does that solve your problem?
More information about the Pkg-rust-maintainers
mailing list