mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
mach: Don't overwrite RUSTFLAGS when enabling debug assertions
This commit is contained in:
parent
9ffd2b8c9e
commit
c4aadfadae
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue