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'), ];