Skip to content

Commit ed13aba

Browse files
Merge pull request #3493 from JuliaLang/kp/rm-version-check
2 parents adcc6c4 + 5cee193 commit ed13aba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Operations.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,19 +1660,13 @@ function gen_test_precompile_code(source_path::String; coverage, julia_args::Cmd
16601660
return gen_subprocess_cmd(code, source_path; coverage, julia_args)
16611661
end
16621662

1663-
@static if VERSION >= v"1.9.0" # has threadpools
16641663
function get_threads_spec()
16651664
if Threads.nthreads(:interactive) > 0
16661665
"$(Threads.nthreads(:default)),$(Threads.nthreads(:interactive))"
16671666
else
16681667
"$(Threads.nthreads(:default))"
16691668
end
16701669
end
1671-
else # no threadpools
1672-
function get_threads_spec()
1673-
"$(Threads.nthreads())"
1674-
end
1675-
end
16761670

16771671
function gen_subprocess_cmd(code::String, source_path::String; coverage, julia_args)
16781672
coverage_arg = if coverage isa Bool

0 commit comments

Comments
 (0)