Skip to content

incompatible_remove_rule_name_parameter #16301

@comius

Description

@comius

There are semantic problems with using rule(name=..., ...) instead of using name = rule(...) on the top-level, because there can be multiple rules with the same name exported from a single bzl file.

We decided to remove name parameter from the rule call.

Expected timeline:

  • Flip the flag with Bazel release 6.0.0
  • Remove the flag and implementation from Bazel@HEAD in Q4 2022.

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)breaking-change-6.0Incompatible flags to be flipped in Bazel 6.0incompatible-changeIncompatible/breaking changemigration-readyIncompatible flag is ready for migration with Bazel rolling releases or Bazel@last_green

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions