bazelbuild / bazelbuild/rules_cc

Rule based toolchains should expand `args` with `data`

Open
#364 4 comments 1 reaction 0 assignees View on GitHub
category: toolchains P3
Dominant language
Starlark
Stars
247
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I wrote a args rule like this:

```bzl
cc_args(
name = "asan_compile_args",
actions = ["@rules_cc//cc/toolchains/actions:compile_actions"],
args = [
"-fno-sanitize-recover=all",
"-fsanitize=address",
"-fsanitize-ignorelist=$(location //bazel/internal:asan-suppressions.txt)",
],
data = [
"//bazel/internal:asan-suppressions.txt",
],
)
```

Which I think we should be able to support

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.