Skip to content

Commit e59836f

Browse files
committed
nit
1 parent fea1852 commit e59836f

File tree

4 files changed

+10
-26
lines changed

4 files changed

+10
-26
lines changed

.cargo/Config.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# [unstable]
2-
# build-std =["alloc", "core", "panic_abort", "proc_macro", "std"]
3-
# build-std-features=["panic_immediate_abort"]
1+
[unstable]
2+
build-std =["alloc", "core", "panic_abort", "proc_macro", "std"]
3+
build-std-features=["panic_immediate_abort"]
44

5-
# [build]
6-
# rustflags=["--cfg=has_std", "-C", "panic=abort", "target-cpu=native"]
5+
[build]
6+
rustflags=["--cfg=has_std", "-C", "panic=abort", "target-cpu=native"]
77

8-
# [target.x86_64-pc-windows-msvc]
9-
# rustflags=["-C", "link-arg=/LIMIT:10240"]
10-
# #
8+
[target.x86_64-pc-windows-msvc]
9+
rustflags=["-C", "link-arg=/LIMIT:10240"]

Cargo.lock

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ lto ="fat"
2424
opt-level =3
2525
overflow-checks=false
2626
panic ="abort"
27+
rpath =false
2728
strip =true
2829

2930
[build-dependencies]
@@ -53,18 +54,16 @@ tokio={ version="1.43.0", default-features=false, features=[
5354
"sync",
5455
"time",
5556
] }
57+
5658
windows={ version="0.59.0", default-features=false, features=[
57-
"Wdk_System_SystemInformation",
5859
"Win32_Foundation",
5960
"Win32_Security",
6061
"Win32_Storage_FileSystem",
6162
"Win32_System_Com",
62-
"Win32_System_Diagnostics_ToolHelp",
6363
"Win32_System_ProcessStatus",
6464
"Win32_System_Registry",
6565
"Win32_System_Threading",
6666
"Win32_UI_Input_KeyboardAndMouse",
6767
"Win32_UI_Shell",
6868
"Win32_UI_WindowsAndMessaging",
6969
] }
70-
async-compat = "0.2.4"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// #![windows_subsystem = "windows"]
1+
#![windows_subsystem = "windows"]
22
#![feature(let_chains)]
33
use anyhow::Result;
44
use std::sync::Arc;

0 commit comments

Comments
 (0)