Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

vcpkg dep for windows build(2)

matthew-heartfule83953ea72e1
diff --git a/.cargo/config.toml b/.cargo/config.toml
index ae3923bff..b35976ebb 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,5 +1,10 @@
[target.x86_64-pc-windows-msvc]
rustflags = [
"-C", "target-feature=+crt-static",
- "-C", "link-arg=/FORCE:MULTIPLE"
+ "-C", "link-arg=/FORCE:MULTIPLE",
+ "-C", "link-arg=/NODEFAULTLIB:libcmt.lib",
+ "-C", "link-arg=/NODEFAULTLIB:libucrt.lib",
+ "-C", "link-arg=/NODEFAULTLIB:libvcruntime.lib",
+ "-C", "link-arg=/DEFAULTLIB:ucrt.lib",
+ "-C", "link-arg=/DEFAULTLIB:vcruntime.lib",
]
\ No newline at end of file
diff --git a/Cargo.toml b/Cargo.toml
index 409b30415..98a86aa7e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,7 +40,7 @@ vcpkg = "0.2"
dependencies = ["onnxruntime"]
git = "https://github.com/microsoft/vcpkg"
rev = "2023.04.15"
-
+dynamic = true