diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2017-09-29 09:50:24 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2017-09-29 09:53:16 -0700 |
commit | c4aadfadaec48e979366514b499c655225c35946 (patch) | |
tree | 7bcd4be8b2417b63186cd5eb1bb83dcc40ee87f3 /python/servo/build_commands.py | |
parent | 9ffd2b8c9e2b897f12daa5eac48a76a0c10c60c9 (diff) | |
download | servo-c4aadfadaec48e979366514b499c655225c35946.tar.gz servo-c4aadfadaec48e979366514b499c655225c35946.zip |
mach: Don't overwrite RUSTFLAGS when enabling debug assertions
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r-- | python/servo/build_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 63b7ebd19fd..e78ff374daa 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -243,7 +243,7 @@ class MachCommands(CommandBase): 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"] |