diff --git a/cli_utils/src/bench_utils.rs b/cli_utils/src/bench_utils.rs index 7c841d4e94..d14de367bd 100644 --- a/cli_utils/src/bench_utils.rs +++ b/cli_utils/src/bench_utils.rs @@ -78,8 +78,12 @@ fn bench_cmd( #[cfg(unix)] use rlimit::{setrlimit, Resource}; #[cfg(unix)] - setrlimit(Resource::STACK, CFOLD_STACK_SIZE as u64, CFOLD_STACK_SIZE as u64) - .expect("Failed to increase stack limit."); + setrlimit( + Resource::STACK, + CFOLD_STACK_SIZE as u64, + CFOLD_STACK_SIZE as u64, + ) + .expect("Failed to increase stack limit."); #[cfg(windows)] println!("Skipping the cfold benchmark on windows, I can't adjust the stack size and use criterion at the same time."); diff --git a/roc_std/Cargo.toml b/roc_std/Cargo.toml index 7565655d4c..03576dbeda 100644 --- a/roc_std/Cargo.toml +++ b/roc_std/Cargo.toml @@ -17,4 +17,4 @@ libc = "0.2.106" [features] default = ["platform"] -platform = [] +platform = [] \ No newline at end of file