use D compiler to check pointer size in test d/14

pull/10331/head
Remi Thebault 3 years ago committed by Xavier Claessens
parent 69e15377ce
commit c08ee0f7bc
  1. 4
      test cases/d/14 dub with deps/meson.build

@ -1,4 +1,4 @@
project('dub-with-deps-example', ['c', 'd'])
project('dub-with-deps-example', ['d'])
dub_exe = find_program('dub', required : false)
if not dub_exe.found()
@ -17,7 +17,7 @@ arch = host_machine.cpu_family()
if host_machine.system() == 'windows'
# check if toolchain is 32bits
sz = meson.get_compiler('c').sizeof('void*')
sz = meson.get_compiler('d').sizeof('void*')
if arch == 'x86' or sz == 4
arch = 'x86_mscoff'
endif

Loading…
Cancel
Save