Comments (6)
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.
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.
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.
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.
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.
Surely they would still build dev-dependencies when running tests? That's the point of those...
from rayon.
Related Issues (20)
- `ParallelExtend` for tuples of references HOT 3
- Using async iterator-like SQLX fetch with Rayon HOT 4
- Docs on "spawn" don't say what exactly this function does HOT 1
- Add SIMD SORT as an option HOT 1
- Handle/guard support for current thread pool HOT 1
- Optional parallelization
- Way to have assertion whether something is outside of a rayon task HOT 2
- how drop rayon whren it in a dylib and dylib should be droped? HOT 4
- Error reporting in scoped tasks
- cooperative yield in ThreadPool::install() causes unexpected behavior in nested pools HOT 4
- Matrix multiplication with Rayon doesn't see perf improvements HOT 3
- general purpose WASM support? HOT 1
- `fold` creates identity for each sublist HOT 10
- Support for some sort of collect()/extend() into `LinkedList<Vec<T>>` HOT 1
- A yield_now/yield_local alternative that allows the thread to go to sleep HOT 3
- Rayon slower than single threaded performance when mixing iter and par_iter HOT 9
- Potential to modify ordering for split_count and tour_counter HOT 2
- rayon 1.9.0 doctest failure - stack overflow on aarch64-unknown-linux-gnu HOT 2
- par_bridge_recursion test sometimes hanging indefinitely HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rayon.