Skip to content

Commit

Permalink
mach: Don't overwrite RUSTFLAGS when enabling debug assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Sep 29, 2017
1 parent 9ffd2b8 commit c4aadfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/servo/build_commands.py
Expand Up @@ -243,7 +243,7 @@ def build(self, target=None, release=False, dev=False, jobs=None,
env = self.build_env(target=target, is_build=True)

if with_debug_assertions:
env["RUSTFLAGS"] = "-C debug_assertions"
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions"

if android:
android_platform = self.config["android"]["platform"]
Expand Down

0 comments on commit c4aadfa

Please sign in to comment.