Skip to content

Commit da70409

Browse files
authored
fix(kanata): rust2rpm (#5613)
1 parent f3ebd7e commit da70409

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

anda/tools/kanata/kanata-fix-metadata-auto.diff

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- kanata-*/Cargo.toml 1970-01-01T00:00:01+00:00
2-
+++ kanata-*/Cargo.toml 2025-02-24T02:18:17.384667+00:00
3-
@@ -124,23 +124,9 @@
1+
--- kanata-1.9.0/Cargo.toml 1970-01-01T00:00:01+00:00
2+
+++ kanata-1.9.0/Cargo.toml 2025-06-23T09:19:38.121344+00:00
3+
@@ -45,23 +45,9 @@
44
"kanata-parser/gui",
55
"win_sendinput_send_scancodes",
66
"win_llhook_read_scancodes",
@@ -24,7 +24,7 @@
2424
"kanata-parser/interception_driver",
2525
]
2626
passthru_ahk = [
27-
@@ -154,9 +140,7 @@
27+
@@ -75,9 +61,7 @@
2828
wasm = ["instant/wasm-bindgen"]
2929
win_llhook_read_scancodes = ["kanata-parser/win_llhook_read_scancodes"]
3030
win_manifest = [
@@ -34,10 +34,10 @@
3434
]
3535
win_sendinput_send_scancodes = ["kanata-parser/win_sendinput_send_scancodes"]
3636
zippychord = ["kanata-parser/zippychord"]
37-
@@ -192,91 +176,2 @@
37+
@@ -186,97 +170,9 @@
3838
[target.'cfg(target_os = "linux")'.dependencies.signal-hook]
3939
version = "0.3.14"
40-
-
40+
4141
-[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
4242
-version = "0.24.0"
4343
-
@@ -126,3 +126,10 @@
126126
-[target.'cfg(target_os = "windows")'.build-dependencies.regex]
127127
-version = "1.10.4"
128128
-optional = true
129+
-
130+
[profile.release]
131+
opt-level = "z"
132+
lto = "fat"
133+
codegen-units = 1
134+
panic = "abort"
135+
+

0 commit comments

Comments
 (0)