--per_file_copt requires argument changes with bzlmod #17132
Labels
area-Bzlmod
Bzlmod-specific PRs, issues, and feature requests
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: feature request
If you passed something like
--per_file_copt=external/com_google_protobuf/.*.cpp@-Wno-type-limits
, and try to move to bzlmod, the flag no longer works because the repository name is taken literally and doesn't contain the version info. In this case you likely need something likeexternal/protobuf~.*/
, but ideally your existing flags would keep working and this wouldn't be taken so literally. I'm sure there are other flags with a similar issueThe text was updated successfully, but these errors were encountered: