Registry / utility / rustc-rayon-core

rustc-rayon-core

JSON →
library0.5.1rscratesunverified

Core APIs for Rayon - fork for rustc.

# Cargo.toml [dependencies] rustc-rayon-core = "0.5.1"
INSTALL
IMPORT
SIG · RUSTC-RAYON-CORE
R
rustc-rayon-core
utilityrustv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThreadPool
use rustc_rayon_core::ThreadPool;

Creates a thread pool and runs a closure.

use rustc_rayon_core::ThreadPool; fn main() { let pool = ThreadPool::new(4).unwrap(); pool.install(|| { println!("Running in rayon thread pool"); }); }
Debug
Known issues
gotchaThis is a fork of rayon-core for rustc; not intended for general use.
fix
Use the official rayon crate instead.
affects: >=0.5.0
Upgrade
Version history
0.5.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
rustc-rayon-core — cargo add rustc-rayon-core · libregistry