bazelbuild / bazelbuild/rules_cc

Plan for supporting MSVC in rules-based toolchain?

Open
#434 8 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Starlark
Stars
247
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I'm using a rules-based toolchain after using the old style for a while and I'm very happy with it. I've recently tried to expand support of my toolchain to Windows and noticed there is currently no support for MSVC-style flags.

Is there a plan for how to pass the compiler type such that flags can be properly selected? I'd be interested in implementing this and basic MSVC support with some guidance. Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the rules-based toolchain behavior described in issue 434 and how compiler flags are selected for Windows. Clarify how the compiler type should be passed, then define the scope of basic MSVC support and verify that MSVC-style flags are selected correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.