about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-07-25 19:53:17 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-07-30 10:10:41 +0000
commitee89db9b172bf32bdf63bdcd841c4b3b8960ce0b (patch)
treec3fd21c9d8d3fb3c62b16a95e013dcc295f5a1cc /compiler/rustc_codegen_gcc
parentba5ff075323a546ac33679561f147d332629ec68 (diff)
downloadrust-ee89db9b172bf32bdf63bdcd841c4b3b8960ce0b.tar.gz
rust-ee89db9b172bf32bdf63bdcd841c4b3b8960ce0b.zip
Move temp file name generation out of the create_dll_import_lib method
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/archive.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/src/archive.rs b/compiler/rustc_codegen_gcc/src/archive.rs
index 36f5e0f8094..4a54d26daf7 100644
--- a/compiler/rustc_codegen_gcc/src/archive.rs
+++ b/compiler/rustc_codegen_gcc/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");
     }
 }