Skip to content

Commit 0ebde59

Browse files
committed
Fix lint
1 parent 1aea3fb commit 0ebde59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub trait TaskSystem {
8989
// Thread local storage to store the thread's id, otherwise we don't know
9090
// who we are in sync. The thread id starts at an invalid value but will be set
9191
// upon thread launch
92-
thread_local!(static THREAD_ID: RefCell<usize> = RefCell::new(0));
92+
thread_local!(static THREAD_ID: RefCell<usize> = const { RefCell::new(0) });
9393

9494
/// A multithreaded execution environment for the tasks launched in ISPC
9595
pub struct Parallel {

0 commit comments

Comments
 (0)