From 6a97ce2cade98997e6fee3e3001fed3f7768c3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Sat, 22 Jun 2024 16:34:34 +0200 Subject: [PATCH] Unbreak rustc_cg_gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix lib path. refs https://github.com/compiler-explorer/compiler-explorer/issues/5342 Signed-off-by: Marc Poulhiès --- lib/compilers/rustc-cg-gcc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compilers/rustc-cg-gcc.ts b/lib/compilers/rustc-cg-gcc.ts index 7fb6c965097..2f5b4fa9c3f 100644 --- a/lib/compilers/rustc-cg-gcc.ts +++ b/lib/compilers/rustc-cg-gcc.ts @@ -69,7 +69,7 @@ export class RustcCgGCCCompiler extends RustCompiler { let options = [ '-Z', - 'codegen-backend=' + path.join(toolroot, 'librustc_codegen_gcc.so'), + 'codegen-backend=' + path.join(toolroot, 'lib', 'librustc_codegen_gcc.so'), '--sysroot', path.join(toolroot, 'sysroot'), ];