We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f555870 commit f161e16Copy full SHA for f161e16
src/bootstrap/src/core/build_steps/compile.rs
@@ -1784,12 +1784,7 @@ impl Step for Assemble {
1784
};
1785
1786
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
-
+ let lib_ext = std::env::consts::DLL_EXTENSION;
1793
let src_lib = enzyme_install.join("build/Enzyme/libEnzyme-19").with_extension(lib_ext);
1794
let libdir = builder.sysroot_libdir(build_compiler, build_compiler.host);
1795
let target_libdir = builder.sysroot_libdir(target_compiler, target_compiler.host);
0 commit comments