GNU bug report logs - #42049
[PATCH 0/4] build-system/cargo: Propagations across the crate closure.

Previous Next

Package: guix-patches;

Reported by: Jakub Kądziołka <kuba <at> kadziolka.net>

Date: Thu, 25 Jun 2020 21:26:01 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jakub Kądziołka <kuba <at> kadziolka.net>
Subject: bug#42049: closed (Re: [PATCH 0/4] build-system/cargo:
 Propagations across the crate closure.)
Date: Sun, 15 Jun 2025 17:46:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42049: [PATCH 0/4] build-system/cargo: Propagations across the crate closure.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42049 <at> debbugs.gnu.org.

-- 
42049: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42049
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hilton Chain <hako <at> ultrarare.space>
To: 42049-close <at> debbugs.gnu.org
Subject: Re: [PATCH 0/4] build-system/cargo: Propagations across the crate
 closure.
Date: Mon, 16 Jun 2025 01:41:16 +0800
Closing since #:cargo-inpus is deprecated on rust-team.

[Message part 3 (message/rfc822, inline)]
From: Jakub Kądziołka <kuba <at> kadziolka.net>
To: guix-patches <at> gnu.org
Cc: efraim <at> flashner.co.il
Subject: [PATCH 0/4] build-system/cargo: Propagations across the crate closure.
Date: Thu, 25 Jun 2020 23:25:23 +0200
Due to the unusual (for Guix) compilation model used by
cargo-build-system, any phases or inputs added by a given library crate
need to be duplicated in all its dependents. This patchstack attempts to
solve this by allowing to propagate inputs, native-inputs and phases
across cargo-inputs edges in the dependency graph.

Apart from the build system work itself, I have included samples of the
cleanup they allow. Apart from being a good example, these are the
changes I have used to test the feature.

Jakub Kądziołka (4):
  build-system/cargo: Allow propagating inputs across CARGO-INPUTS edges
  gnu: crates-io: Use propagated-inputs and propagated-native-inputs.
  build-system/cargo: Add a propagated-phases argument.
  gnu: crates-io: Use propagated-phases.

 gnu/packages/crates-io.scm  | 157 +++++++++++-------------------------
 gnu/packages/rust-apps.scm  |   9 +--
 gnu/packages/sequoia.scm    |   3 +-
 guix/build-system/cargo.scm |  92 +++++++++++++++------
 4 files changed, 120 insertions(+), 141 deletions(-)

-- 
2.26.2




This bug report was last modified 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.