Skip to content

Commit f161e16

Browse files
committed
adressing feedback
1 parent f555870 commit f161e16

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bootstrap/src/core/build_steps/compile.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,12 +1784,7 @@ impl Step for Assemble {
17841784
};
17851785

17861786
if let Some(enzyme_install) = enzyme_install {
1787-
let lib_ext = match env::consts::OS {
1788-
"macos" => "dylib",
1789-
"windows" => "dll",
1790-
_ => "so",
1791-
};
1792-
1787+
let lib_ext = std::env::consts::DLL_EXTENSION;
17931788
let src_lib = enzyme_install.join("build/Enzyme/libEnzyme-19").with_extension(lib_ext);
17941789
let libdir = builder.sysroot_libdir(build_compiler, build_compiler.host);
17951790
let target_libdir = builder.sysroot_libdir(target_compiler, target_compiler.host);

0 commit comments

Comments
 (0)