We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d5b3c commit 64e5c3fCopy full SHA for 64e5c3f
.cargo/config.toml
@@ -0,0 +1,11 @@
1
+# TODO: Remove this workaround when framework_lib updates to built v0.8+ with gix feature.
2
+# Issue: libgit2-sys v0.14.x has a bug on Windows where it doesn't link advapi32.lib.
3
+# The built crate (used by framework_lib) depends on git2 which pulls in the buggy libgit2-sys.
4
+# See: https://github.com/rust-lang/git2-rs/issues/1016
5
+#
6
+# Note: This config only works for local builds without --target flag.
7
+# CI uses RUSTFLAGS env var directly (see .github/workflows/ci.yaml).
8
+[target.x86_64-pc-windows-msvc]
9
+rustflags = ["-C", "link-arg=advapi32.lib"]
10
+[host.x86_64-pc-windows-msvc]
11
0 commit comments