Skip to content

Commit

Permalink
Add back TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu committed Apr 20, 2024
1 parent 2847b2c commit 852df91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parallel/job_token.rs
Expand Up @@ -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<JobTokenServer> = OnceCell::new();

JOBSERVER.get_or_init(|| {
Expand Down

0 comments on commit 852df91

Please sign in to comment.