Skip to content

Commit 364a5c6

Browse files
authored
update VERSION check to target the 1.12 branch
1 parent af652ac commit 364a5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jlgen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ function compile_method_instance(@nospecialize(job::CompilerJob))
624624
if VERSION < v"1.12.0-DEV.1667"
625625
cgparams = (; lookup = Base.unsafe_convert(Ptr{Nothing}, lookup_cb), cgparams... )
626626
end
627-
if VERSION > v"1.13.0-DEV.285"
627+
if VERSION >= v"1.12.0-DEV.2126"
628628
cgparams = (; force_emit_all = true , cgparams...)
629629
end
630630
params = Base.CodegenParams(; cgparams...)

0 commit comments

Comments
 (0)