Git Product home page Git Product logo

Comments (6)

adamreichold avatar adamreichold commented on July 18, 2024 1

Ah sorry, I misread your post as the point was not to get the normal build working by avoiding the dev-dependency. Just that crossbeam-channel suffices as a dev-dependency if only the test is modified. Sorry for noise.

from rayon.

cuviper avatar cuviper commented on July 18, 2024

mpsc::Sender gained Sync in Rust 1.72. Rayon supports Rust 1.63 for the library itself, but that doesn't include its tests.

I see that even Debian sid only has Rust 1.70, which is now 4 versions old -- I wonder why?

from rayon.

plugwash avatar plugwash commented on July 18, 2024

Yeah, we are a bit behind on rustc and cargo in Debian at the moment, I'm not 100% sure, but I think we need to get cargo caught up to a cargo version that corresponds to our current rustc before we push rustc further forward.

Thanks for the feedback, I've just taken another look at the commit in question and done some testing and I have successfully reverted the changes to the test in question, without touching the rest of the code, and the tests now pass. That's good enough for me.

from rayon.

cuviper avatar cuviper commented on July 18, 2024

OK -- I guess part of what you would have needed to revert is the crossbeam-channel dependency, but if you're only changing the test, you can move that to a dev-dependency so it's not included in the normal build. Up to you!

from rayon.

adamreichold avatar adamreichold commented on July 18, 2024

but if you're only changing the test, you can move that to a dev-dependency so its not included in the normal build

This might not help as IIRC Debian usually runs the tests as part of the packaging to increase the confidence that e.g. porting a package to a different architecture actually works (in contrast to just compiling).

from rayon.

cuviper avatar cuviper commented on July 18, 2024

Surely they would still build dev-dependencies when running tests? That's the point of those...

from rayon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.