crane ignore sourceRoot for given sources
bugenhancement
**Describe the bug**
When setting `sourceRoot` it does not take it into account when trying to find what the 'actual' package is when building the dummySrc and determining the Cargo.toml and Cargo.lock.
**Reproduction**
I set up a quick repository to showcase it: https://git.hemera.systems/Hemera/crane-reproducer-workspace-sourceRoot
In my opinion, this should work, as I am telling crane what subset of the source the 'building' should happen in.
When manually setting the cargoToml and cargoLock options it works. So I think it is the auto-finding that has an issue maybe?
3 条评论