Skip to content

build: Default to clang-cl and have cc-rs find it, on aarch64-pc-windows-msvc.#2803

Merged
briansmith merged 2 commits intomainfrom
b/prefer-clang-over-msvc
Mar 16, 2026
Merged

build: Default to clang-cl and have cc-rs find it, on aarch64-pc-windows-msvc.#2803
briansmith merged 2 commits intomainfrom
b/prefer-clang-over-msvc

Conversation

@briansmith
Copy link
Copy Markdown
Owner

Don't require "clang" to be in the path for AArch64 Windows builds. Use clang-cl, which has an MSVC cl.exe style command line, so that CFLAGS and other settings are picked up automatically.

Inspired by Dennis Ameling's PR.

@briansmith briansmith self-assigned this Mar 16, 2026
…ows-msvc.

Don't require "clang" to be in the path for AArch64 Windows builds. Use
clang-cl, which has an MSVC cl.exe style command line, so that CFLAGS and
other settings are picked up automatically.

Inspired by Dennis Ameling's PR.
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.71%. Comparing base (3c9fff5) to head (a1e3f5e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2803   +/-   ##
=======================================
  Coverage   96.71%   96.71%           
=======================================
  Files         204      204           
  Lines       20353    20353           
  Branches      519      519           
=======================================
  Hits        19684    19684           
  Misses        552      552           
  Partials      117      117           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@briansmith briansmith merged commit 7183be3 into main Mar 16, 2026
175 checks passed
@briansmith briansmith deleted the b/prefer-clang-over-msvc branch March 16, 2026 22:53
Comment thread build.rs
@cyqsimon
Copy link
Copy Markdown

Can you please consider making a patch release with this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants