1
Fork 0

compiletest: combine --*-python args

Since these arguments are now always the same, combine them into a
singular `--python` argument.
This commit is contained in:
Alec Goncharow 2022-04-19 21:01:13 -04:00
parent 4ca19e09d3
commit e95bda62f9
5 changed files with 11 additions and 19 deletions

View file

@ -1400,9 +1400,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
targetflags.extend(builder.lld_flags(target));
cmd.arg("--target-rustcflags").arg(targetflags.join(" "));
cmd.arg("--docck-python").arg(builder.python());
cmd.arg("--lldb-python").arg(builder.python());
cmd.arg("--python").arg(builder.python());
if let Some(ref gdb) = builder.config.gdb {
cmd.arg("--gdb").arg(gdb);