rules_rust/test/bzlmod_repo_mapping
UebelAndre d07ac80ac6
Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847)
closes https://github.com/bazelbuild/rules_rust/issues/2653
2024-09-10 21:30:20 +00:00
..
module_a
module_b Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
module_c
README.md

README.md

Bzlmod allow modules to rename their dependencies and use the aliased names in runfiles lookups. This test defines the following dependency tree: A -> B -> C. The test if whether a binary built in A that calls code in B that has an rlocation! call to lookup a runfile from C is able to correctly use B's repo_mapping. This is accomplished by having B use a custom repo_name for C.