rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

Support repo mapping for bazel runfiles.

Open matts1 opened this issue 2 years ago • 6 comments

With bazel 6 + bzlmod, bazel creates a "repo mapping" file. Note that this can be a problem even if rules_rust doesn't support bzlmod, as it can occur if a bzlmod repo includes rules_rust in its WORKSPACE.bazel file.

Discussion detailed at https://groups.google.com/g/bazel-discuss/c/DsVivJhU7Bw

matts1 avatar Feb 24 '23 00:02 matts1

@scentini What do I need to do to get this reviewed?

matts1 avatar Mar 09 '23 01:03 matts1

Hi @matts1 unfortunately I have not yet found the time to review the PR; however there seem to be some failures on CI, could you please take care of those?

scentini avatar Mar 09 '23 18:03 scentini

I fixed the clippy errors that were causing the failures, but there still appears to be two failures which I believe are unrelated to my code.

matts1 avatar Mar 10 '23 00:03 matts1

https://github.com/bazelbuild/rules_rust/pull/2566 is the latest attempt

dzbarsky avatar Mar 22 '24 23:03 dzbarsky