Skip to content

Commit

Permalink
Fix: crystal tool format
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Jun 25, 2024
1 parent f7825bc commit 3a08d9e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/compiler/crystal/compiler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a08d9e

Please sign in to comment.