Support repo mapping for bazel runfiles.
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
@scentini What do I need to do to get this reviewed?
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?
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.
https://github.com/bazelbuild/rules_rust/pull/2566 is the latest attempt