From 6bd5de70eece499ba157e38f23685dce09e5689f Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Thu, 6 Nov 2025 00:40:49 -0500 Subject: [PATCH] Document the new env variable in the rustc-dev-guide --- src/doc/rustc-dev-guide/src/tests/running.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md index 48ce9d8ad185..74bcc01e28c1 100644 --- a/src/doc/rustc-dev-guide/src/tests/running.md +++ b/src/doc/rustc-dev-guide/src/tests/running.md @@ -321,6 +321,10 @@ Tests are built on the machine running `x` not on the remote machine. Tests which fail to build unexpectedly (or `ui` tests producing incorrect build output) may fail without ever running on the remote machine. +There is a default timeout of 30 minutes in case the `remote-test-server` +cannot be reached by the `x` command. This timeout can be modified by using the +`TEST_DEVICE_CONNECT_TIMEOUT_SECONDS` environment variable. + ## Testing on emulators Some platforms are tested via an emulator for architectures that aren't readily available.