Skip to content

Commit 0c2a60c

Browse files
authored
Release 0.32.2 (gimli-rs#789)
Remove `PartialEq<Debug*Offset>` implementations for `UnitSectionOffset`. These were an unintended breaking change.
1 parent bf70320 commit 0c2a60c

File tree

3 files changed

+13
-25
lines changed

3 files changed

+13
-25
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
--------------------------------------------------------------------------------
44

5+
## 0.32.2
6+
7+
Released 2025/08/26.
8+
9+
### Changed
10+
11+
* Removed `PartialEq<Debug*Offset>` implementations for `UnitSectionOffset`.
12+
These were an unintended breaking change.
13+
[#789](https://github.com/gimli-rs/gimli/pull/789)
14+
15+
--------------------------------------------------------------------------------
16+
517
## 0.32.1
618

719
Released 2025/08/22.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gimli"
3-
version = "0.32.1"
3+
version = "0.32.2"
44
categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"]
55
description = "A library for reading and writing the DWARF debugging format."
66
documentation = "https://docs.rs/gimli"

src/common.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -232,30 +232,6 @@ impl<T> From<DebugTypesOffset<T>> for UnitSectionOffset<T> {
232232
}
233233
}
234234

235-
impl<T> PartialEq<DebugInfoOffset<T>> for UnitSectionOffset<T>
236-
where
237-
T: PartialEq,
238-
{
239-
fn eq(&self, other: &DebugInfoOffset<T>) -> bool {
240-
match self {
241-
UnitSectionOffset::DebugInfoOffset(o) => o.eq(other),
242-
UnitSectionOffset::DebugTypesOffset(_) => false,
243-
}
244-
}
245-
}
246-
247-
impl<T> PartialEq<DebugTypesOffset<T>> for UnitSectionOffset<T>
248-
where
249-
T: PartialEq,
250-
{
251-
fn eq(&self, other: &DebugTypesOffset<T>) -> bool {
252-
match self {
253-
UnitSectionOffset::DebugInfoOffset(_) => false,
254-
UnitSectionOffset::DebugTypesOffset(o) => o.eq(other),
255-
}
256-
}
257-
}
258-
259235
impl<T> UnitSectionOffset<T>
260236
where
261237
T: Clone,

0 commit comments

Comments
 (0)