diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-10 09:02:07 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-10 09:02:07 +0000 |
| commit | 92a664e111ef7c75ce0b95fc831d5d700f027acf (patch) | |
| tree | d3a3fd44884a0ddd4ee2d730c8d0d3d1e7becde4 /compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs | |
| parent | 67951d946a158bc70949150ca06265e912752096 (diff) | |
| parent | e39eacd2d415803ef82de3b6a314e4f2d0fbc4dc (diff) | |
| download | rust-92a664e111ef7c75ce0b95fc831d5d700f027acf.tar.gz rust-92a664e111ef7c75ce0b95fc831d5d700f027acf.zip | |
Merge commit 'e39eacd2d415803ef82de3b6a314e4f2d0fbc4dc' into sync_cg_clif-2025-01-10
Diffstat (limited to 'compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs index a27b9983bf1..528031af82a 100644 --- a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs +++ b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs @@ -11,7 +11,7 @@ fn main() { sysroot = sysroot.parent().unwrap(); } - let cg_clif_dylib_path = sysroot.join(if cfg!(windows) { "bin" } else { "lib" }).join( + let cg_clif_dylib_path = sysroot.join("lib").join( env::consts::DLL_PREFIX.to_string() + "rustc_codegen_cranelift" + env::consts::DLL_SUFFIX, ); |
