mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-14 03:36:59 +08:00
17 lines
671 B
TOML
17 lines
671 B
TOML
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-Ctarget-feature=+crt-static"]
|
|
[target.i686-pc-windows-msvc]
|
|
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",
|
|
]
|
|
#[target.'cfg(target_os="linux")']
|
|
# 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
|
|
#rustflags = [
|
|
# "-C", "link-args=-Wl,-Bstatic -lc -Wl,-Bdynamic"
|
|
#]
|
|
[net]
|
|
git-fetch-with-cli = true
|