[Pkg-rust-maintainers] rust-criterion: Bootstraping rust-spin/criterion

Samuel Thibault sthibault at debian.org
Tue Aug 20 16:50:32 BST 2024


Control: reassign -1 rust-spin

Peter Green, le mar. 20 août 2024 16:32:02 +0100, a ecrit:
> > 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?

Mmm, that does build the package and should be enough indeed.

Samuel



More information about the Pkg-rust-maintainers mailing list