about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-07-25 20:08:40 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-07-30 10:32:32 +0000
commit3c987cbe0284a954f025546e53b7007ae1cc95f1 (patch)
tree7ab9b43197c1f5976199c41d720c0362fa46a899 /compiler/rustc_codegen_cranelift/src
parentbb764bd406fbfbbd24ac162a1c9d10d349b5e386 (diff)
downloadrust-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_cranelift/src')
-rw-r--r--compiler/rustc_codegen_cranelift/src/archive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/archive.rs b/compiler/rustc_codegen_cranelift/src/archive.rs
index 73ccf500a51..084654af09d 100644
--- a/compiler/rustc_codegen_cranelift/src/archive.rs
+++ b/compiler/rustc_codegen_cranelift/src/archive.rs
@@ -16,7 +16,7 @@ impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
         &self,
         sess: &Session,
         _lib_name: &str,
-        _dll_imports: &[rustc_session::cstore::DllImport],
+        _import_name_and_ordinal_vector: Vec<(String, Option<u16>)>,
         _output_path: &Path,
     ) {
         sess.dcx().fatal("raw-dylib is not yet supported by rustc_codegen_cranelift");