我的bazel
构建失败,并出现以下错误
link: package conflict error: github.com/golang/protobuf/ptypes/timestamp: multiple copies of package passed to linker:
@io_bazel_rules_go//proto/wkt:timestamp_go_proto
@com_github_golang_protobuf//ptypes/timestamp:timestamp
Set "importmap" to different paths or use 'bazel cquery' to ensure only one
package with this path is linked.
字符串
在错误消息中,我看到use 'bazel cquery' to ensure only one package
,我如何才能找到谁使用bazel cquery
带来/使用@com_github_golang_protobuf//ptypes/timestamp:timestamp
?
1条答案
按热度按时间hivapdat1#
找到查询了
字符串