Try to fix CI (#2544)

This is an attempt to work around rust-lang/rust#80703 to get CI green
again.
This commit is contained in:
Alex Crichton
2021-01-04 14:50:42 -06:00
committed by GitHub
parent 4c7e66e58e
commit 2b325a1878

View File

@@ -51,6 +51,8 @@ child_process.execFileSync('docker', [
'-v', `${process.cwd()}:${process.cwd()}`, '-v', `${process.cwd()}:${process.cwd()}`,
'-v', `${child_process.execSync('rustc --print sysroot').toString().trim()}:/rust:ro`, '-v', `${child_process.execSync('rustc --print sysroot').toString().trim()}:/rust:ro`,
'--env', `PATH=${path}`, '--env', `PATH=${path}`,
// FIXME(rust-lang/rust#80703) this shouldn't be necessary
'--env', `LD_LIBRARY_PATH=/rust/lib`,
'centos:7', 'centos:7',
], stdio); ], stdio);