about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-07-25 19:53:17 +0000
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-08-12 15:17:57 +0200
commitc57eb5581fe407f364df5812416190b241e8a8bb (patch)
treefb0234cec520925764255fd9b2e0d1157caf087d
parent78f5ee65183e816d2cb0499c6766591fc234d8f7 (diff)
Move temp file name generation out of the create_dll_import_lib method
-rw-r--r--src/archive.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/archive.rs b/src/archive.rs
index 36f5e0f8094..4a54d26daf7 100644
--- a/src/archive.rs
+++ b/src/archive.rs
@@ -1,4 +1,4 @@
-use std::path::{Path, PathBuf};
+use std::path::Path;
 
 use rustc_codegen_ssa::back::archive::{
     ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER,
@@ -18,9 +18,8 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
         _sess: &Session,
         _lib_name: &str,
         _dll_imports: &[DllImport],
-        _tmpdir: &Path,
-        _is_direct_dependency: bool,
-    ) -> PathBuf {
+        _output_path: &Path,
+    ) {
         unimplemented!("creating dll imports is not yet supported");
     }
 }