We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17bbcaa commit ae6b4f4Copy full SHA for ae6b4f4
.cargo/config.toml
@@ -2,5 +2,10 @@
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
+rustflags = ["-C", "link-arg=advapi32.lib"]
0 commit comments