Skip to content

Commit 8c8b7b7

Browse files
committed
deps: bump cc to 1.2.16 to fix x86 windows jobs in rust-lang/rust CI
GitHub Runner Images 20250224.5.0+ ship Windows 11 SDK 10.0.26100+ from the previous Windows 11 SDK 10.0.22621, which bumped the UCRT headers. The new UCRT headers use SSE2 types. However, `cc` versions <= 1.2.15 emit `/arch:IA32` for `x86` Windows targets for `clang-cl`, which causes compilation errors since `clang-cl` can't find SSE2 types without `/arch:SSE2` specified (or defaulted). (Note that MSVC at the time of writing silently accepts and emits instruments for code using SSE2 types, as opposed to `clang-cl` hard error-ing). To fix this for rust-lang/rust CI, we need to bump anything that transitively relies on `cc` and tries to use `clang-cl` on `x86` Windows targets to compile any C/C++ code that transitively use functions or types that require SSE2 types, such as `<wchar.h>`. `cc` 1.2.16 contains <rust-lang/cc-rs#1425> which emits `/arch:SSE2` instead of `/arch:IA32` for `x86` Windows targets when using `clang-cl`.
1 parent 3fe24ab commit 8c8b7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)