rustdesk/.cargo/config.toml

17 lines
671 B
TOML
Raw Normal View History

2022-05-14 11:46:20 +08:00
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i686-pc-windows-msvc]
2024-08-14 17:32:05 +08:00
rustflags = ["-C", "target-feature=+crt-static", "-C", "link-args=/NODEFAULTLIB:MSVCRT"]
[target.'cfg(target_os="macos")']
rustflags = [
"-C", "link-args=-sectcreate __CGPreLoginApp __cgpreloginapp /dev/null",
2022-05-14 11:46:20 +08:00
]
2024-08-18 09:56:24 +08:00
#[target.'cfg(target_os="linux")']
2024-08-18 10:04:20 +08:00
# glibc-static required, this may fix https://github.com/rustdesk/rustdesk/issues/9103, but I do not want this big change
# this is unlikely to help also, because the other so files still use libc dynamically
2024-08-18 09:56:24 +08:00
#rustflags = [
# "-C", "link-args=-Wl,-Bstatic -lc -Wl,-Bdynamic"
#]
2024-11-23 23:08:39 +08:00
[net]
2024-11-23 22:54:43 +08:00
git-fetch-with-cli = true