Skip to content

Commit

Permalink
Change logic slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi authored and giordano committed Feb 21, 2025
1 parent 9670d8e commit 4170a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/compileall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@



if !Sys.iswindows() #Windows doesn't support large images
if !Sys.iswindows() && !(Sys.WORD_SIZE == 32) #Windows doesn't support large images
mktempdir() do dir
@test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'const ballast = Memory{UInt8}(undef, 1 << 31); exit()'`, stderr=stderr)) skip=(Sys.WORD_SIZE == 32)
@test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'const ballast = Memory{UInt8}(undef, 1 << 31); exit()'`, stderr=stderr))
if isfile(joinpath(dir, "sys.o.a"))
Base.Linking.link_image(joinpath(dir, "sys.o.a"), joinpath(dir, "sys.so"))
@test success(`$(Base.julia_cmd()) -J $(dir)/sys.so -e 'Base.scrub_repl_backtrace(nothing); exit()'`)
Expand Down

0 comments on commit 4170a4a

Please sign in to comment.