Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Update config.toml (#9057)

RustDeskf6ab5cdcb297
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 0e9fd44a9..994fc3df5 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,7 +1,7 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i686-pc-windows-msvc]
-rustflags = ["-Ctarget-feature=+crt-static"]
+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",