We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64e5c3f commit bfb7d69Copy full SHA for bfb7d69
.github/workflows/ci.yaml
@@ -63,6 +63,10 @@ jobs:
63
os: windows-2025
64
use-cross: false
65
target: x86_64-pc-windows-msvc
66
+ # TODO: Remove rustflags workaround when framework_lib updates to built v0.8+ with gix feature.
67
+ # Issue: libgit2-sys v0.14.x doesn't link advapi32.lib on Windows.
68
+ # See: https://github.com/rust-lang/git2-rs/issues/1016
69
+ rustflags: "-C link-arg=advapi32.lib"
70
71
steps:
72
- name: Checkout
@@ -99,7 +103,9 @@ jobs:
99
103
100
104
- name: Build (without cross)
101
105
if: matrix.build != 'freebsd' && !matrix.use-cross
102
- run: cargo build --release --locked --target ${{ matrix.target }}
106
+ run: cargo build --release --locked
107
+ env:
108
+ RUSTFLAGS: ${{ matrix.rustflags }}
109
110
- name: Build (cross)
111
if: matrix.use-cross
0 commit comments