bazelbuild / bazelbuild/rules_cc
Rule based toolchains should expand `args` with `data`
Open
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
Assessment
This issue has not been assessed yet.