rules_swift_package_manager
rules_swift_package_manager copied to clipboard
False positive when running update_build_files
Just ran into this very particular case, where running bazel run //:update_build_files results in some warnings:
gazelle: Unable to find dependency labels for s, sCount, sFormat, sOffset, s_count, s_format, s_offset
gazelle: Unable to find dependency labels for MachO, s, sCount, sFormat, sOffset, s_count, s_format, s_offset
gazelle: Unable to find dependency labels for s
This is because some of the variable names in my project start with import. Example:
I assume the command tries to look for the dependency sFormat because it splits importsFormat into import sFormat.
Not that big of a deal, since the command returns a successful exit code and this is an uncommon scenario