bazel-contrib / bazel-contrib/toolchains_llvm

Add a c_standard configuration attribute

Open
#592 0 comments 2 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Starlark
Stars
371
Forks
283
Avg merge
1d 55m
Merged PRs (30d)
25

Description

We have a `cxx_standard` attribute for setting the c++ standard, we should also provide an analogous configuration for the C standard.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing cxx_standard configuration attribute and any tests or documentation covering it; the issue does not name a file or test. Add the analogous c_standard configuration, then verify that it controls the C language standard in the same way and that relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.