diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-25 19:53:17 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-30 10:10:41 +0000 |
| commit | ee89db9b172bf32bdf63bdcd841c4b3b8960ce0b (patch) | |
| tree | c3fd21c9d8d3fb3c62b16a95e013dcc295f5a1cc /compiler/rustc_codegen_gcc | |
| parent | ba5ff075323a546ac33679561f147d332629ec68 (diff) | |
| download | rust-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.rs | 7 |
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"); } } |
