Skip to content

Commit 79cd460

Browse files
committed
Update notify-rs to fix WSL crash
Fixes #66
1 parent a5a6a39 commit 79cd460

File tree

6 files changed

+21
-15
lines changed

6 files changed

+21
-15
lines changed

Cargo.lock

+15-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ resolver = "2"
88

99
[profile.release-lto]
1010
inherits = "release"
11-
# Temporarily disabled to fix notify crash
12-
# See https://github.com/encounter/objdiff/issues/66
13-
#lto = "thin"
11+
lto = "thin"
1412
strip = "debuginfo"

objdiff-cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objdiff-cli"
3-
version = "2.0.0-alpha.3"
3+
version = "2.0.0-alpha.4"
44
edition = "2021"
55
rust-version = "1.70"
66
authors = ["Luke Street <[email protected]>"]

objdiff-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objdiff-core"
3-
version = "2.0.0-alpha.3"
3+
version = "2.0.0-alpha.4"
44
edition = "2021"
55
rust-version = "1.70"
66
authors = ["Luke Street <[email protected]>"]

objdiff-gui/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objdiff-gui"
3-
version = "2.0.0-alpha.3"
3+
version = "2.0.0-alpha.4"
44
edition = "2021"
55
rust-version = "1.70"
66
authors = ["Luke Street <[email protected]>"]
@@ -37,7 +37,7 @@ float-ord = "0.3.2"
3737
font-kit = "0.13.0"
3838
globset = { version = "0.4.14", features = ["serde1"] }
3939
log = "0.4.21"
40-
notify = "6.1.1"
40+
notify = { git = "https://github.com/encounter/notify", rev = "4c1783e8e041b5f69d4cf1750b9f07e335a0771e" }
4141
objdiff-core = { path = "../objdiff-core", features = ["all"] }
4242
png = "0.17.13"
4343
pollster = "0.3.0"

objdiff-gui/src/views/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub fn config_ui(
242242
|| {
243243
Box::pin(
244244
rfd::AsyncFileDialog::new()
245-
.set_directory(&target_dir)
245+
.set_directory(target_dir)
246246
.add_filter("Object file", &["o", "elf", "obj"])
247247
.pick_file(),
248248
)

0 commit comments

Comments
 (0)