diff options
| author | Remi Thebault <remi.thebault@gmail.com> | 2022-03-24 15:03:37 +0100 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2022-04-30 10:07:38 -0400 |
| commit | c08ee0f7bc310c9721247ba7398ec8f651ceac06 (patch) | |
| tree | a3eaec255b2865f789fdbb8d0c87998cb0d6ee3c /test cases/d | |
| parent | 69e15377ce3181c5da1999e09751f779252087d7 (diff) | |
| download | meson-c08ee0f7bc310c9721247ba7398ec8f651ceac06.tar.gz | |
use D compiler to check pointer size in test d/14
Diffstat (limited to 'test cases/d')
| -rw-r--r-- | test cases/d/14 dub with deps/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/d/14 dub with deps/meson.build b/test cases/d/14 dub with deps/meson.build index e0bd84702..08f30808c 100644 --- a/test cases/d/14 dub with deps/meson.build +++ b/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 |
