Skip to content

Commit adf67d8

Browse files
aeubanksAravind Vasudevan
authored and
Aravind Vasudevan
committed
[rust] Set GITHUB_ACTIONS=true on rust builders
With rust-lang/rust#110115, some path length reduction features are only enabled on CI. We fake that with GITHUB_ACTIONS=true. Bug: 1441182 Change-Id: I09dc11459f1a0d941846075b52ada717ef0e2a9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4496591 Commit-Queue: Arthur Eubanks <[email protected]> Reviewed-by: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1138102} NOKEYCHECK=True GitOrigin-RevId: 9fc3ea506f7d471c1aed19e587df7324f7583ac1
1 parent c9e39f0 commit adf67d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build_rust.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,12 @@ def __init__(self, zlib_path, libxml2_dirs, build_mac_arm,
430430
# Cargo normally stores files in $HOME. Override this.
431431
self._env['CARGO_HOME'] = CARGO_HOME_DIR
432432

433+
# https://crbug.com/1441182
434+
# Pretend we're a CI, since some path length reduction features are
435+
# only enabled for CI. Otherwise some tests fail when the rust src
436+
# directory name length is too long.
437+
self._env['GITHUB_ACTIONS'] = 'true'
438+
433439
def configure(self, build_mac_arm, x86_64_llvm_config,
434440
aarch64_llvm_config):
435441
# Read the config.toml template file...

0 commit comments

Comments
 (0)