Auto merge of #28734 - servo:jdm-patch-52, r=jdm

Unbreak lldb invocations.

The underlying mozdebug now includes a -- in the command line, so `./mach run --debug` is broken if we add it explicitly.
This commit is contained in:
bors-servo 2022-03-08 11:09:08 -05:00 committed by GitHub
commit 8ff8a75bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,8 +162,7 @@ class PostBuildCommands(CommandBase):
command = rustCommand
# Prepend the debugger args.
args = ([command] + self.debuggerInfo.args + ["--"]
+ args + params)
args = ([command] + self.debuggerInfo.args + args + params)
else:
args = args + params