Luca Palmieri
Luca Palmieri
This feels quite strange—is there a set of commands I can use to reproduce the issue? (I'm assuming this is for the Lemmy project)
Happy to merge a PR in this direction 👌🏻
This should have been solved for good by #247.
First of all: what version of `cargo-chef` are you using? Are both of those packages local packages (i.e. path dependencies or vendored)?
As you can see in the snippet you linked, that only applies to local crates, so it should not touch your `[email protected]` if it's pulled from crates.io. Can you share...
It does only look at the name, but it's just invoked on [local manifests](https://github.com/LukeMathWalker/cargo-chef/blob/fc474fb041b6401c3b3fcaf055494170ef62cd17/src/skeleton/version_masking.rs#L10).
OK, I understand now the issue—thanks a lot for the reproduction!
`split-debuginfo` needs to be added to the [`Profile` struct in `cargo-manifest`](https://github.com/LukeMathWalker/cargo-manifest/blob/7e91d45d93b5851e1270cad592caad125392da07/src/lib.rs#L384). Then everything should work as expected. Feel free to submit a PR!
It's impossible for me to help you with this little information. As far as I can see, the Dockerfile is using `cargo-chef` correctly.
Closing this since #231 has been merged.