Skip to content

Commit

Permalink
nothing as default value
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jan 23, 2024
1 parent 06053cb commit b8a58fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/Configuration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions test/Configuration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8a58fe

Please # to comment.