From 81d5e47f4045643a668a25ff5b80b326db01d7d4 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 1 Mar 2022 16:41:09 +0100 Subject: [PATCH] fmt --- cli_utils/src/bench_utils.rs | 8 ++++++-- roc_std/Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) 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