Skip to content

Commit

Permalink
Unbreak rustc_cg_gcc
Browse files Browse the repository at this point in the history
Fix lib path.

refs compiler-explorer#5342

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
  • Loading branch information
dkm committed Jun 22, 2024
1 parent f133d86 commit 6a97ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compilers/rustc-cg-gcc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
];
Expand Down

0 comments on commit 6a97ce2

Please sign in to comment.