Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule based toolchains should expand args with data #364

Open
keith opened this issue Feb 25, 2025 · 0 comments
Open

Rule based toolchains should expand args with data #364

keith opened this issue Feb 25, 2025 · 0 comments

Comments

@keith
Copy link
Member

keith commented Feb 25, 2025

I wrote a args rule like this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants