From 29ef4478df6d3aaca40c7993f125b29409be1de2 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 20 May 2020 10:40:18 -0700 Subject: 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 --- docs/markdown/snippets/d-lang_n_debug.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docs/markdown/snippets/d-lang_n_debug.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1