Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

build(windows): statically link MSVC C runtime for zero-dependency standalone binaries

Samir Hossains3d017b2bedd0
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..81b00ec
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,5 @@
+[target.x86_64-pc-windows-msvc]
+rustflags = ["-C", "target-feature=+crt-static"]
+
+[target.aarch64-pc-windows-msvc]
+rustflags = ["-C", "target-feature=+crt-static"]
diff --git a/Cargo.toml b/Cargo.toml
index 2d89b8e..8787c2d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,6 +5,7 @@ exclude = [
".github/",
".githooks/",
"Formula/",
+ ".cargo/",
"install.sh",
"install.ps1",
]