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 | 161d2476d5bed2daf55770ea68b5964cd6d5d543 (patch) | |
| tree | 52544440bc8059a06612db55e13304c6da6e3804 /src | |
| parent | d35f63e3030b78ced7af2943ada5b419d8ab7cda (diff) | |
| download | rust-161d2476d5bed2daf55770ea68b5964cd6d5d543.tar.gz rust-161d2476d5bed2daf55770ea68b5964cd6d5d543.zip | |
Move temp file name generation out of the create_dll_import_lib method
Diffstat (limited to 'src')
| -rw-r--r-- | src/archive.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/archive.rs b/src/archive.rs index 1935005a08c..73ccf500a51 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, @@ -17,9 +17,8 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder { sess: &Session, _lib_name: &str, _dll_imports: &[rustc_session::cstore::DllImport], - _tmpdir: &Path, - _is_direct_dependency: bool, - ) -> PathBuf { + _output_path: &Path, + ) { sess.dcx().fatal("raw-dylib is not yet supported by rustc_codegen_cranelift"); } } |
