Commit acf0b8f
authored
Add rust build link dependencies (#5854)
## Description
Fixes the Rust CI failures
### AI diagnostic
Root Cause: Accidental Transitive Dependency
Cargo.lock is .gitignore'd, so every CI run resolves the latest
compatible dependency versions. Between Mar 5 and Mar 6:
1. socket2 updated 0.6.2 →
0.6.3, which bumped windows-sys from 0.60.2 → 0.61.2
2. windows-sys
0.60.x depended on windows_x86_64_msvc — a crate that ships actual .lib
import library files (advapi32.lib, crypt32.lib, iphlpapi.lib, etc.) and
makes them available to the linker
3. windows-sys
0.61.x switched to windows-link with raw-dylib, which generates import
stubs inline — dropping windows_x86_64_msvc entirely
4. The msquic build.rs never declared its Windows system library
dependencies — they were accidentally satisfied by windows_x86_64_msvc's
import libraries being on the linker search path
5. With that crate gone, msquic.lib's references to advapi32, crypt32,
etc. became unresolved
## Testing
CI
## Documentation
N/A1 parent 45a46f3 commit acf0b8f
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
93 | 107 | | |
94 | 108 | | |
95 | 109 | | |
| |||
0 commit comments