Hi folks,
We are trying to further integrate a legacy mixed C++ + Rust bazel repository with another cargo workspace repository, via git submodule. We are running into some problems with cargo-bazel not creating crate labels for cargo crates referred to by relative path? I am not sure why? Does anyone have an example of how to make this work?
The only way I have gotten it to work so far is by literally putting redundant BUILD files into this otherwise-pure cargo repository so that bazel can build these things with labels like //submodules/mycargorepo/whatever but I would really much prefer if it were @submodules_mycargorepo_crate_index//:whatever or something like that, but I cannot seem to make it work ... Please help!