-
Notifications
You must be signed in to change notification settings - Fork 4.5k
incompatible_no_implicit_file_export: implicitly exported files have private visibility #10225
Copy link
Copy link
Closed
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)incompatible-changeIncompatible/breaking changeIncompatible/breaking changemigration-readyIncompatible flag is ready for migration with Bazel rolling releases or Bazel@last_greenIncompatible flag is ready for migration with Bazel rolling releases or Bazel@last_greennot staleIssues or PRs that are inactive but not considered staleIssues or PRs that are inactive but not considered staleteam-Loading-APIBUILD file and macro processing: labels, package(), visibility, globBUILD file and macro processing: labels, package(), visibility, globtype: process
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)incompatible-changeIncompatible/breaking changeIncompatible/breaking changemigration-readyIncompatible flag is ready for migration with Bazel rolling releases or Bazel@last_greenIncompatible flag is ready for migration with Bazel rolling releases or Bazel@last_greennot staleIssues or PRs that are inactive but not considered staleIssues or PRs that are inactive but not considered staleteam-Loading-APIBUILD file and macro processing: labels, package(), visibility, globBUILD file and macro processing: labels, package(), visibility, globtype: process
Type
Fields
Give feedbackNo fields configured for issues without a type.
If the flag
--incompatible_no_implicit_file_exportis enabled, files that are implicitly exported because they are mentioned in theBUILDhave private visibility regardless of the default visibility of the package.Migration: add an explicit
exports_filesfor all files that should be used outside the package they belong to.Design document: https://github.com/bazelbuild/proposals/blob/master/designs/2019-10-24-file-visibility.md