Skip to content

Commit 8f3b3fe

Browse files
committed
Move temp file name generation out of the create_dll_import_lib method
1 parent cc0ca37 commit 8f3b3fe

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,
@@ -18,9 +18,8 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
1818
_sess: &Session,
1919
_lib_name: &str,
2020
_dll_imports: &[DllImport],
21-
_tmpdir: &Path,
22-
_is_direct_dependency: bool,
23-
) -> PathBuf {
21+
_output_path: &Path,
22+
) {
2423
unimplemented!("creating dll imports is not yet supported");
2524
}
2625
}

0 commit comments

Comments
 (0)