We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2847b2c commit 852df91Copy full SHA for 852df91
src/parallel/job_token.rs
@@ -36,6 +36,7 @@ impl JobTokenServer {
36
/// that has to be static so that it will be shared by all cc
37
/// compilation.
38
fn new() -> &'static Self {
39
+ // TODO: Replace with a OnceLock once MSRV is 1.70
40
static JOBSERVER: OnceCell<JobTokenServer> = OnceCell::new();
41
42
JOBSERVER.get_or_init(|| {
0 commit comments