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 | 3c987cbe0284a954f025546e53b7007ae1cc95f1 (patch) | |
| tree | 7ab9b43197c1f5976199c41d720c0362fa46a899 /compiler/rustc_codegen_gcc | |
| parent | bb764bd406fbfbbd24ac162a1c9d10d349b5e386 (diff) | |
| download | rust-3c987cbe0284a954f025546e53b7007ae1cc95f1.tar.gz rust-3c987cbe0284a954f025546e53b7007ae1cc95f1.zip | |
Move computation of decorated names out of the create_dll_import_lib method
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/archive.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/archive.rs b/compiler/rustc_codegen_gcc/src/archive.rs index 4a54d26daf7..0cee05f1cea 100644 --- a/compiler/rustc_codegen_gcc/src/archive.rs +++ b/compiler/rustc_codegen_gcc/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"); |
