]> git.lizzy.rs Git - rust.git/commit
Tests select when to use --cfg debug, regardless of configure settings.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 24 Jul 2013 09:26:52 +0000 (11:26 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 24 Jul 2013 09:29:43 +0000 (11:29 +0200)
commit1f9255751252b5d2b1f55af921896c43764fe52f
treede65643c74572980b123e68be3228e78edd71bbf
parent359755a39a1d216a03a4e4d0b14e64e6610bbf91
Tests select when to use --cfg debug, regardless of configure settings.
Remove directive, if present, from CFG_RUSTC_FLAGS.

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.)
mk/tests.mk