From 3a08d9e2e2f7ea1492db3fb6d6c530c2a49ed95d Mon Sep 17 00:00:00 2001 From: Julien Portalier Date: Tue, 25 Jun 2024 21:55:31 +0200 Subject: [PATCH] Fix: crystal tool format --- src/compiler/crystal/compiler.cr | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/compiler/crystal/compiler.cr b/src/compiler/crystal/compiler.cr index 8b67e62a68d0..5652b7b3f829 100644 --- a/src/compiler/crystal/compiler.cr +++ b/src/compiler/crystal/compiler.cr @@ -83,12 +83,11 @@ module Crystal property? no_codegen = false # Maximum number of LLVM modules that are compiled in parallel - property n_threads : Int32 = - {% if flag?(:preview_mt) %} - ENV["CRYSTAL_WORKERS"]?.try(&.to_i?) || 4 - {% else %} - {% if flag?(:win32) %} 1 {% else %} 8 {% end %} - {% end %} + property n_threads : Int32 = {% if flag?(:preview_mt) %} + ENV["CRYSTAL_WORKERS"]?.try(&.to_i?) || 4 + {% else %} + {% if flag?(:win32) %} 1 {% else %} 8 {% end %} + {% end %} # Default prelude file to use. This ends up adding a # `require "prelude"` (or whatever name is set here) to