]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8020 : pnkfelix/rust/fsk-issue7898-dont-propagate-cfg-debug-to-tests...
authorbors <bors@rust-lang.org>
Thu, 25 Jul 2013 07:46:37 +0000 (00:46 -0700)
committerbors <bors@rust-lang.org>
Thu, 25 Jul 2013 07:46:37 +0000 (00:46 -0700)
Remove directive, if present, from CFG_RUSTC_FLAGS.

r? @huonw

Fix #7898.

(One alternative tack is to build up distinct CFG_TEST_RUSTC_FLAGS
alongside CFG_RUSTC_FLAGS; but currently debug is the only --cfg flag
ever added to CFG_RUSTC_FLAGS; the other contents of CFG_RUSTC_FLAGS
are a mix of -Z flags and a few other switches like O, which seem to
make sense to propogate to the tests.)


Trivial merge