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 ff0b834 commit aaf508cCopy full SHA for aaf508c
src/driver/jit.rs
@@ -24,7 +24,7 @@ struct JitState {
24
}
25
26
thread_local! {
27
- static LAZY_JIT_STATE: RefCell<Option<JitState>> = RefCell::new(None);
+ static LAZY_JIT_STATE: RefCell<Option<JitState>> = const { RefCell::new(None) };
28
29
30
/// The Sender owned by the rustc thread
0 commit comments