diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-05-20 10:40:18 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-05-20 14:20:26 -0700 |
commit | 29ef4478df6d3aaca40c7993f125b29409be1de2 (patch) | |
tree | f0d9119c25705b730893d619bb5f46166a777401 /docs/markdown/snippets | |
parent | d04e2c2f1fcf35501a1fdc87524b890c5f367995 (diff) | |
download | meson-29ef4478df6d3aaca40c7993f125b29409be1de2.zip meson-29ef4478df6d3aaca40c7993f125b29409be1de2.tar.gz meson-29ef4478df6d3aaca40c7993f125b29409be1de2.tar.bz2 |
compilers/d: Add b_ndebug support
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/d-lang_n_debug.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/snippets/d-lang_n_debug.md b/docs/markdown/snippets/d-lang_n_debug.md new file mode 100644 index 0000000..59f09e4 --- /dev/null +++ b/docs/markdown/snippets/d-lang_n_debug.md @@ -0,0 +1,4 @@ +## b_ndebug support for D language compilers + +D Language compilers will now set -release/--release/-frelease (depending on +the compiler) when the b_ndebug flag is set. |