[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46399] [PATCH] build-system/cargo: Propagate crates across builds.
From: |
pelzflorian (Florian Pelz) |
Subject: |
[bug#46399] [PATCH] build-system/cargo: Propagate crates across builds. |
Date: |
Tue, 13 Apr 2021 14:31:39 +0200 |
On Mon, Apr 12, 2021 at 09:40:17AM +0300, Efraim Flashner wrote:
> I went back and refreshed myself with what I wrote there. source-only
> crates should be added to both regular inputs and to #:cargo-inputs.
Thank you for clarifying. I will translate the manual accordingly.
> #:cargo-inputs are "magic" in that they propagate their own #:cargo-inputs
> to future builds.
I had not known about this difference.
> I think for now the best option is to add the rust inputs of all types
> to both inputs and #:cargo-inputs (or native-inputs and
> #:cargo-development-inputs) and then remove them from #:cargo-inputs
> when it's possible to do so. Ultimately Someoneā¢ should revive the
> wip-rust branch and convert all the crates over in one go and adjust the
> importer and manual.
I suppose this paragraph of your reply should be added to the manual.
Regards,
Florian