From bf45147ea7aff3ed86bb867f8b083be33bfe26b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 17 Apr 2023 17:49:46 +0300 Subject: [PATCH] Bump object to 0.31 --- Cargo.toml | 2 +- crates/as-if-std/Cargo.toml | 2 +- src/symbolize/gimli/coff.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79f26d5be..0d5092e51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ addr2line = { version = "0.20.0", default-features = false } miniz_oxide = { version = "0.7.0", default-features = false } [dependencies.object] -version = "0.30.0" +version = "0.31.0" default-features = false features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive'] diff --git a/crates/as-if-std/Cargo.toml b/crates/as-if-std/Cargo.toml index 655f47f90..fd07dd62e 100644 --- a/crates/as-if-std/Cargo.toml +++ b/crates/as-if-std/Cargo.toml @@ -19,7 +19,7 @@ addr2line = { version = "0.20.0", default-features = false, optional = true } miniz_oxide = { version = "0.4.0", default-features = false } [dependencies.object] -version = "0.28" +version = "0.31" default-features = false optional = true features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive'] diff --git a/src/symbolize/gimli/coff.rs b/src/symbolize/gimli/coff.rs index 7b78ca297..759c827e0 100644 --- a/src/symbolize/gimli/coff.rs +++ b/src/symbolize/gimli/coff.rs @@ -2,6 +2,7 @@ use super::{gimli, Context, Endian, EndianSlice, Mapping, Path, Stash, Vec}; use alloc::sync::Arc; use core::convert::TryFrom; use object::pe::{ImageDosHeader, ImageSymbol}; +use object::read::coff::ImageSymbol as _; use object::read::pe::{ImageNtHeaders, ImageOptionalHeader, SectionTable}; use object::read::StringTable; use object::LittleEndian as LE;