summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-02-10 18:27:18 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-02-10 18:27:18 +0100
commit609784711a0a3cb399299d65b58463253541b2da (patch)
tree4093e73a48960507569b54fa381b3f18180e8fbf /compiler/rustc_codegen_cranelift/src
parent203b622a6590d6469e37ce827a62d5931cc837f2 (diff)
downloadrust-609784711a0a3cb399299d65b58463253541b2da.tar.gz
rust-609784711a0a3cb399299d65b58463253541b2da.zip
Unconditionally update symbols
All paths to an ArchiveBuilder::build call update_symbols first.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
-rw-r--r--compiler/rustc_codegen_cranelift/src/archive.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/archive.rs b/compiler/rustc_codegen_cranelift/src/archive.rs
index b0eb3864d80..a099e8b3a6a 100644
--- a/compiler/rustc_codegen_cranelift/src/archive.rs
+++ b/compiler/rustc_codegen_cranelift/src/archive.rs
@@ -105,8 +105,6 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
         Ok(())
     }
 
-    fn update_symbols(&mut self) {}
-
     fn build(mut self) {
         enum BuilderKind {
             Bsd(ar::Builder<File>),