aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/.cargo
diff options
context:
space:
mode:
authorelilchen <[email protected]>2023-02-16 15:23:31 +0800
committerelilchen <[email protected]>2023-02-16 15:23:31 +0800
commit388ae586ecb34e57bf6f58ea7dc446b5768a9e0c (patch)
tree8579b781f381836349befe6bbfc0dc55d1e6ff70 /ui/.cargo
parentfe661fe067ea4c485cfd887b26a7c3962eff52b1 (diff)
downloadrustdesk-server-388ae586ecb34e57bf6f58ea7dc446b5768a9e0c.tar.gz
rustdesk-server-388ae586ecb34e57bf6f58ea7dc446b5768a9e0c.zip
crt-static
Diffstat (limited to 'ui/.cargo')
-rw-r--r--ui/.cargo/config.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/.cargo/config.toml b/ui/.cargo/config.toml
new file mode 100644
index 0000000..d942d45
--- /dev/null
+++ b/ui/.cargo/config.toml
@@ -0,0 +1,8 @@
+[target.x86_64-pc-windows-msvc]
+rustflags = ["-Ctarget-feature=+crt-static"]
+[target.i686-pc-windows-msvc]
+rustflags = ["-Ctarget-feature=+crt-static"]
+[target.'cfg(target_os="macos")']
+rustflags = [
+ "-C", "link-args=-sectcreate __CGPreLoginApp __cgpreloginapp /dev/null",
+] \ No newline at end of file