Commit c1afd3e
authored
[release/9.0] Avoid C4319 build warnings in libunwind (#122179)
Include libunwind/libunwind#931 in the build of
the libunwind dependency.
Fixes runtime build errors on `1es-windows-2022-open` that are blocking
HTTP & SSL stress runs.
## Customer Impact
- [x] Found internally
Our internal HTTP and SSL stress tests are failing to build on the 8.0
branch.
An update of MSVC in the `1es-windows-2022-open` image brought updated
analyzer rules that now fail the build of dotnet/runtime on Windows.
```
mempool.c(96): warning C4319: '~': zero extending 'unsigned long' to 'size_t' of greater size
```
This change adds `(size_t)` casts in the libunwind dependency, which
resolves the new errors.
## Regression
- [X] Yes
Infra update.
## Testing
Regular CI is still passing + CI stress runs for HTTP and SSL now build
and work again.
## Risk
Low.
This is a one-line targeted fix that only adds casts.1 parent e2b3568 commit c1afd3e
File tree
2 files changed
+2
-1
lines changed- src/native/external
- libunwind/include
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
0 commit comments