diff --git a/compiler/erg_common/spawn.rs b/compiler/erg_common/spawn.rs index b4795b67..73c70a16 100644 --- a/compiler/erg_common/spawn.rs +++ b/compiler/erg_common/spawn.rs @@ -8,7 +8,7 @@ where F: FnOnce() -> T + Send + 'static, T: Send + 'static, { - if cfg!(windows) || cfg!(features = "large_thread") { + if cfg!(windows) || cfg!(feature = "large_thread") { const STACK_SIZE: usize = 4 * 1024 * 1024; let child = thread::Builder::new() .stack_size(STACK_SIZE)