Skip to content

Commit

Permalink
Move computation of decorated names out of the create_dll_import_lib …
Browse files Browse the repository at this point in the history
…method
  • Loading branch information
bjorn3 authored and GuillaumeGomez committed Aug 12, 2024
1 parent c57eb55 commit 50b3746
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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");
Expand Down

0 comments on commit 50b3746

Please sign in to comment.