From af4628fa4316c8927eff98e48a38f36dc474d7df Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Sat, 17 Dec 2022 18:02:39 +0900 Subject: [PATCH] Update spawn.rs --- compiler/erg_common/spawn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)