Default to the same Cargo features in all build commands

Fixes #8308 and #7327.
This commit is contained in:
Matt Brubeck 2016-05-24 10:56:22 -07:00
parent e4fe0db8fd
commit 8587ec4278
3 changed files with 17 additions and 2 deletions

View file

@ -178,6 +178,10 @@ class MachCommands(CommandBase):
args += ["-p", "%s_tests" % crate]
args += test_patterns
features = self.servo_features()
if features:
args += ["--features", "%s" % ' '.join(features)]
env = self.build_env()
env["RUST_BACKTRACE"] = "1"