Skip to content

Commit 161d247

Browse files
committed
Move temp file name generation out of the create_dll_import_lib method
1 parent d35f63e commit 161d247

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/archive.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::path::{Path, PathBuf};
1+
use std::path::Path;
22

33
use rustc_codegen_ssa::back::archive::{
44
ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER,
@@ -17,9 +17,8 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
1717
sess: &Session,
1818
_lib_name: &str,
1919
_dll_imports: &[rustc_session::cstore::DllImport],
20-
_tmpdir: &Path,
21-
_is_direct_dependency: bool,
22-
) -> PathBuf {
20+
_output_path: &Path,
21+
) {
2322
sess.dcx().fatal("raw-dylib is not yet supported by rustc_codegen_cranelift");
2423
}
2524
}

0 commit comments

Comments
 (0)