Skip to content

Commit 7e8c1f0

Browse files
committed
Update rust edition to 2024
1 parent 17c991c commit 7e8c1f0

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[workspace]
22
members = [
33
"main",
4+
"parser",
45
]
6+
resolver = "3"
57

68
[profile.release]
79
debug = true

main/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ readme = "../README.md"
77
keywords = ["debug", "DWARF"]
88
categories = ["development-tools::debugging"]
99
license = "Apache-2.0 OR MIT"
10-
edition = "2018"
11-
rust-version = "1.81"
10+
edition = "2024"
11+
rust-version = "1.85"
1212

1313
[dependencies]
1414
capstone = "0.13.0"

main/tests/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn diff(name: &str, expect: &str) {
1616
}
1717
}
1818

19-
fn options<'a>() -> ddbug::Options {
19+
fn options() -> ddbug::Options {
2020
ddbug::Options {
2121
print_function_variables: true,
2222
inline_depth: 1,

parser/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ repository = "https://github.com/gimli-rs/ddbug"
66
keywords = ["debug", "DWARF"]
77
categories = ["development-tools::debugging"]
88
license = "Apache-2.0 OR MIT"
9-
edition = "2018"
10-
rust-version = "1.81"
9+
edition = "2024"
10+
rust-version = "1.85"
1111

1212
[dependencies]
1313
fnv = "1.0"

0 commit comments

Comments
 (0)