Skip to content

Commit

Permalink
#55 Attempt to use clang on windows with special case for i386
Browse files Browse the repository at this point in the history
i386 is a 32bit platform.
Clang by default is 64bit.
It should be as simple as just requiring clang to build in 32bit mode with -m32.
  • Loading branch information
PhilippMDoerner committed Jan 10, 2024
1 parent b0d4527 commit b37d49a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/nim.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
--gc:arc
--threads:on
--define:useMalloc
--cc:clang
@if not windows:
--cc:clang
--debugger:native
--passc:"-fsanitize=thread -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
--passl:"-fsanitize=thread -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
@end
@if windows and i386:
--passc:"-m32"
--passl:"-m32"
@end

0 comments on commit b37d49a

Please sign in to comment.