No way to detect clang-cl
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.2k
- Forks
- 617
- Avg merge
- 22h 32m
- Merged PRs (30d)
- 41
Description
cc internally knows whether it's using clang-cl but doesn't seem to expose this.
FWIW, the is_like_* functions are somewhat confusing to use. I'd expect clang to return true for both of is_like_gnu() and is_like_clang() but it only returns true for is_like_clang()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting cc's compiler-detection API and the existing is_like_* functions. Determine how clang-cl is identified internally and how the is_like_gnu() and is_like_clang() results are intended to behave; done means the clang-cl information is exposed consistently and the behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100