Skip to content

"flag_group must contain either a list of flags or a list of flag_groups" for empty archiver_flags #404

@gr1mpatr0n

Description

@gr1mpatr0n

flags = ctx.attr.archiver_flags,

It is perfectly valid to have an empty archiver_flags, in fact that is what it defaults to ([]). However, if ctx.attr.archiver_flags == [], you will receive the error:

fail("flag_group must contain either a list of flags or a list of flag_groups.")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good Starter BugGood bug to start getting involved in rules_cc!P3We're not considering working on this, but happy to review a PR. (No assignee)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions