parent
f24ad87e05
commit
69e15377ce
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
||||
## D compiler checks |
||||
|
||||
Some compiler checks are implemented for D: |
||||
- `run` |
||||
- `sizeof` |
||||
- `has_header` (to check if a module is present) |
||||
- `alignment` |
||||
|
||||
Example: |
||||
|
||||
```meson |
||||
ptr_size = meson.get_compiler('d').sizeof('void*') |
||||
``` |
Loading…
Reference in new issue