build: add RBAC filter to the only/exclude directive.
This commit is contained in:
parent
780ca65953
commit
c07c5838e4
3 changed files with 8 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ func init() {
|
|||
}
|
||||
|
||||
func filterRuleForUs(opt *Option) bool {
|
||||
if prebuild.RBAC && slices.Contains(opt.ArgList, "RBAC") {
|
||||
return true
|
||||
}
|
||||
|
||||
abiStr := fmt.Sprintf("abi%d", prebuild.ABI)
|
||||
if slices.Contains(opt.ArgList, abiStr) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue