diff options
author | Remi Thebault <remi.thebault@gmail.com> | 2022-03-12 10:10:58 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-04-30 10:07:38 -0400 |
commit | 69e15377ce3181c5da1999e09751f779252087d7 (patch) | |
tree | 4bfff91b2481dd8c20fccd00b14977984bfca80f | |
parent | f24ad87e05400a67d5b47525b24281857c1f671c (diff) | |
download | meson-69e15377ce3181c5da1999e09751f779252087d7.zip meson-69e15377ce3181c5da1999e09751f779252087d7.tar.gz meson-69e15377ce3181c5da1999e09751f779252087d7.tar.bz2 |
add release snippet
-rw-r--r-- | docs/markdown/snippets/d_compiler_checks.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/snippets/d_compiler_checks.md b/docs/markdown/snippets/d_compiler_checks.md new file mode 100644 index 0000000..1125e22 --- /dev/null +++ b/docs/markdown/snippets/d_compiler_checks.md @@ -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*') +``` |