mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #18677 - mbrubeck:mach, r=jdm
mach: Don't overwrite RUSTFLAGS when enabling debug assertions --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18677) <!-- Reviewable:end -->
This commit is contained in:
commit
05f53d20e6
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