Skip to content

Commit

Permalink
Move temp file name generation out of the create_dll_import_lib method
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 authored and GuillaumeGomez committed Aug 12, 2024
1 parent 78f5ee6 commit c57eb55
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/archive.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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");
}
}

0 comments on commit c57eb55

Please sign in to comment.