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/cargo-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/cargo-clif.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs b/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs index 1e14f41d4a2..ebbb6879610 100644 --- a/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs +++ b/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs @@ -16,7 +16,7 @@ fn main() { if let Some(name) = option_env!("BUILTIN_BACKEND") { rustflags.push(format!("-Zcodegen-backend={name}")); } else { - let dylib = sysroot.join(if cfg!(windows) { "bin" } else { "lib" }).join( + let dylib = sysroot.join("lib").join( env::consts::DLL_PREFIX.to_string() + "rustc_codegen_cranelift" + env::consts::DLL_SUFFIX,  | 
