Skip to content

Commit 4170a4a

Browse files
gbaraldigiordano
authored andcommitted
Change logic slightly
1 parent 9670d8e commit 4170a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/compileall.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55

66

7-
if !Sys.iswindows() #Windows doesn't support large images
7+
if !Sys.iswindows() && !(Sys.WORD_SIZE == 32) #Windows doesn't support large images
88
mktempdir() do dir
9-
@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)
9+
@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))
1010
if isfile(joinpath(dir, "sys.o.a"))
1111
Base.Linking.link_image(joinpath(dir, "sys.o.a"), joinpath(dir, "sys.so"))
1212
@test success(`$(Base.julia_cmd()) -J $(dir)/sys.so -e 'Base.scrub_repl_backtrace(nothing); exit()'`)

0 commit comments

Comments
 (0)