Move temp file name generation out of the create_dll_import_lib method

This commit is contained in:
bjorn3 2024-07-25 19:53:17 +00:00 committed by Guillaume Gomez
parent 78f5ee6518
commit c57eb5581f

View File

@ -1,4 +1,4 @@
use std::path::{Path, PathBuf}; use std::path::Path;
use rustc_codegen_ssa::back::archive::{ use rustc_codegen_ssa::back::archive::{
ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER, ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER,
@ -18,9 +18,8 @@ fn create_dll_import_lib(
_sess: &Session, _sess: &Session,
_lib_name: &str, _lib_name: &str,
_dll_imports: &[DllImport], _dll_imports: &[DllImport],
_tmpdir: &Path, _output_path: &Path,
_is_direct_dependency: bool, ) {
) -> PathBuf {
unimplemented!("creating dll imports is not yet supported"); unimplemented!("creating dll imports is not yet supported");
} }
} }