Skip to content

Commit 4d850c7

Browse files
KristofferCmaleadt
andauthored
Update for and test against 1.12 nightly (#683)
Co-authored-by: Tim Besard <tim.besard@gmail.com>
1 parent 2944591 commit 4d850c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
version: ['1.10', '1.11', 'nightly']
21+
version: ['1.10', '1.11', '1.12-nightly', 'nightly']
2222
os: [ubuntu-latest, macOS-latest, windows-latest]
2323
arch: [x64]
2424
llvm_args: ['']

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 v"1.12.0-DEV.2126" <= VERSION < v"1.13-" || VERSION >= v"1.13.0-DEV.285"
628628
cgparams = (; force_emit_all = true , cgparams...)
629629
end
630630
params = Base.CodegenParams(; cgparams...)

0 commit comments

Comments
 (0)