-
Hi, When releasing a sys library with a build script that builds an external vendor repository included in the project as a git submodule, cargo complains that the source directory is dirty:
... and suggest using the Is there a good way to use Note: the files structure would look something like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That error is actually coming from Do you have more precise reproduction steps so I can better understand the problem? |
Beta Was this translation helpful? Give feedback.
Indeed moving it the other direction makes way more sense. Will look into that.
Also, another thing to investigate is to use the rust c-compiler directly instead of running make as a system level command. This makes a lot of sense in this particular case as I am only interested in the core library and not the full distribution binary.
As a side note, I also need to cherrypick what goes into the cargo package when pushing to
crates.io
as the compressed source code for the C-library weighs 300 MB, far exceeding the 10MB limit...Anyhow, starting to realise that I am probably just wasting your time here given that it all comes down to the specifics of the C-library submodule.
Thanks for the …