diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-25 20:08:40 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-30 10:32:32 +0000 |
| commit | 67d7e92f5a4f72ea2565c7abc3f6d2525531131a (patch) | |
| tree | 21b023634eafc1c7ae2a784e0dbcf700f640b27b | |
| parent | 8f3b3fe87a1370605b12b22d200426e843815658 (diff) | |
| download | rust-67d7e92f5a4f72ea2565c7abc3f6d2525531131a.tar.gz rust-67d7e92f5a4f72ea2565c7abc3f6d2525531131a.zip | |
Move computation of decorated names out of the create_dll_import_lib method
| -rw-r--r-- | src/archive.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/archive.rs b/src/archive.rs index 4a54d26daf7..0cee05f1cea 100644 --- a/src/archive.rs +++ b/src/archive.rs @@ -3,7 +3,6 @@ use std::path::Path; use rustc_codegen_ssa::back::archive::{ ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER, }; -use rustc_session::cstore::DllImport; use rustc_session::Session; pub(crate) struct ArArchiveBuilderBuilder; @@ -17,7 +16,7 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder { &self, _sess: &Session, _lib_name: &str, - _dll_imports: &[DllImport], + _import_name_and_ordinal_vector: Vec<(String, Option<u16>)>, _output_path: &Path, ) { unimplemented!("creating dll imports is not yet supported"); |
