]> git.lizzy.rs Git - rust.git/commit
auto merge of #9278 : alexcrichton/rust/ndebug, r=brson
authorbors <bors@rust-lang.org>
Fri, 20 Sep 2013 19:46:05 +0000 (12:46 -0700)
committerbors <bors@rust-lang.org>
Fri, 20 Sep 2013 19:46:05 +0000 (12:46 -0700)
commit2fd3c07242e92b5f43ce8e120d711cde33a7ed1b
treed327eb1e50242cc36b671589ad9bae9bebe300aa
parentff0aaaf138071ba2656c4c7bddc5267bb3f10e2e
parent833a64d76e1d3ecca5f66469b1a8ec7c97a1c9d9
auto merge of #9278 : alexcrichton/rust/ndebug, r=brson

Many people will be very confused that their debug! statements aren't working
when they first use rust only to learn that they should have been building with
`--cfg debug` the entire time. This inverts the meaning of the flag to instead
of enabling debug statements, now it disables debug statements.

This way the default behavior is a bit more reasonable, and requires less
end-user configuration. Furthermore, this turns on debug by default when
building the rustc compiler.