File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# Summary
66
77Remove official support for the ` ndebug ` config variable, replace the current usage of it with a
8- more appropriate ' debug_assertions` compiler-provided config variable.
8+ more appropriate ` debug_assertions ` compiler-provided config variable.
99
1010# Motivation
1111
@@ -23,9 +23,9 @@ a natural consequence.
2323
2424# Detailed design
2525
26- The ` debug_assertions ` variable, the replacement for the ` ndebug ` variable, will be compiler
27- provided based on the value of the ` opt-level ` codegen flag, including the implied value from ` -O ` .
28- Any value higher than 0 will disable the variable.
26+ The ` debug_assertions ` configuration variable, the replacement for the ` ndebug ` variable, will be
27+ compiler provided based on the value of the ` opt-level ` codegen flag, including the implied value
28+ from ` -O ` . Any value higher than 0 will disable the variable.
2929
3030Another codegen flag ` debug-assertions ` will override this, forcing it on or off based on the value
3131passed to it.
You can’t perform that action at this time.
0 commit comments