diff --git a/src/parallel/job_token.rs b/src/parallel/job_token.rs index cce9baf8..31dbfe83 100644 --- a/src/parallel/job_token.rs +++ b/src/parallel/job_token.rs @@ -36,6 +36,7 @@ impl JobTokenServer { /// that has to be static so that it will be shared by all cc /// compilation. fn new() -> &'static Self { + // TODO: Replace with a OnceLock once MSRV is 1.70 static JOBSERVER: OnceCell = OnceCell::new(); JOBSERVER.get_or_init(|| {