From b8a58fe0ae4f0d9bddbe87dec4e242cfae8b73b2 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 23 Jan 2024 11:24:16 +0100 Subject: [PATCH] nothing as default value --- src/Configuration.jl | 2 +- test/Configuration.jl | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Configuration.jl b/src/Configuration.jl index 22176ffef7..04cfceb908 100644 --- a/src/Configuration.jl +++ b/src/Configuration.jl @@ -187,7 +187,7 @@ const CHECK_BOUNDS_DEFAULT = nothing const MATH_MODE_DEFAULT = nothing const STARTUP_FILE_DEFAULT = "no" const HISTORY_FILE_DEFAULT = "no" -const HEAP_SIZE_HINT_DEFAULT = "2G" +const HEAP_SIZE_HINT_DEFAULT = nothing function roughly_the_number_of_physical_cpu_cores() # https://gist.github.com/fonsp/738fe244719cae820245aa479e7b4a8d diff --git a/test/Configuration.jl b/test/Configuration.jl index 894c240c0a..452a3a2839 100644 --- a/test/Configuration.jl +++ b/test/Configuration.jl @@ -45,9 +45,6 @@ end @testset "flag conversion" begin reference_flags = ["--startup-file=no", "--history-file=no", "--threads=123"] - if VERSION ≥ v"1.9" - pushfirst!(reference_flags, "--heap-size-hint=2G") - end @test _convert_to_flags(Configuration.CompilerOptions(threads="123")) == reference_flags @test _convert_to_flags(Configuration.CompilerOptions(threads=123)) == reference_flags