Skip to content

Commit 67d7e92

Browse files
committed
Move computation of decorated names out of the create_dll_import_lib method
1 parent 8f3b3fe commit 67d7e92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/archive.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use std::path::Path;
33
use rustc_codegen_ssa::back::archive::{
44
ArArchiveBuilder, ArchiveBuilder, ArchiveBuilderBuilder, DEFAULT_OBJECT_READER,
55
};
6-
use rustc_session::cstore::DllImport;
76
use rustc_session::Session;
87

98
pub(crate) struct ArArchiveBuilderBuilder;
@@ -17,7 +16,7 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
1716
&self,
1817
_sess: &Session,
1918
_lib_name: &str,
20-
_dll_imports: &[DllImport],
19+
_import_name_and_ordinal_vector: Vec<(String, Option<u16>)>,
2120
_output_path: &Path,
2221
) {
2322
unimplemented!("creating dll imports is not yet supported");

0 commit comments

Comments
 (0)