about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-01 22:39:59 +0000
committerbors <bors@rust-lang.org>2022-10-01 22:39:59 +0000
commitb34cff1736b0b94686206f053c2c00c302240bb9 (patch)
tree10e0f795f7e874e52e55d4c3d78deda91cfe4f07 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent57f097ea25f2c05f424fc9b9dc50dbd6d399845c (diff)
parent20638eba8029ba471233ced4f38efade33a6dea7 (diff)
downloadrust-b34cff1736b0b94686206f053c2c00c302240bb9.tar.gz
rust-b34cff1736b0b94686206f053c2c00c302240bb9.zip
Auto merge of #102193 - ferrocene:pa-remote-test-server-improvements, r=Mark-Simulacrum
Change argument handling in `remote-test-server` and add new flags

This PR updates `remote-test-server` to add two new flags:

* `--sequential` disables parallel test execution, accepting one connection at the time instead. We need this for Ferrocene as one of our emulators occasionally deadlocks when running multiple tests in parallel.
* `--bind <ip:port>` allows customizing the IP and port `remote-test-server` binds to, rather than using the default value.

While I was changing the flags, and [after chatting on what to do on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/remote-test-server.20flags),  I took this opportunity to cleanup argument handling in `remote-test-server`, which is a breaking change:

* The `verbose` argument has been renamed to the `--verbose` flag.
* The `remote` argument has been removed in favor of the `--bind 0.0.0.0:12345` flag. The only thing the argument did was to change the bound IP to 0.0.0.0, which can easily be replicated with `--bind` and also is not secure as our "remote" default.

I'm also open to keep the old arguments with deprecation warnings.

r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions