GNU bug report logs - #77093
[PATCH rust-team 00/18] New Rust packaging workflow based on lockfile importer.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Tue, 18 Mar 2025 07:18:02 UTC

Severity: normal

Tags: patch

Full log


Message #83 received at 77093 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Efraim Flashner <efraim <at> flashner.co.il>,	Hilton Chain
 <hako <at> ultrarare.space>,	77093 <at> debbugs.gnu.org,	Divya Ranjan Pattanaik
 <divya <at> subvertising.org>,	Ludovic Courtès
 <ludo <at> gnu.org>,	Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,	Steve George
 <steve <at> futurile.net>
Subject: Re: [bug#77093] [PATCH rust-team 03/18] build-system: cargo: Support
 packaging Cargo workspace.
Date: Tue, 18 Mar 2025 20:07:26 +0800
On Tue, 18 Mar 2025 19:49:15 +0800,
Efraim Flashner wrote:
>
> [1  <multipart/mixed (7bit)>]
> [1.1  <text/plain; utf-8 (quoted-printable)>]
> I've attached a diff that removes the need for RUSTC_BOOTSTRAP that
> seems to work when I rebuilt rust-pubgrub.
>
> Some links I followed:
> https://doc.rust-lang.org/cargo/commands/cargo-publish.html#package-selection
> https://github.com/rust-lang/cargo/issues/10948#issuecomment-1229236664
> "One background knowledge: cargo publish is roughly `cargo package` +
> call crates.io API."
>
> Before and after:
>
> (ins)efraim <at> 3900XT ~/workspace/guix-rust-team$ tree /gnu/store/zk1n23l2wdca8snz1wqllmjxv83hccl5-rust-pubgrub-0.3.0-0.b70cf70 | head
> /gnu/store/zk1n23l2wdca8snz1wqllmjxv83hccl5-rust-pubgrub-0.3.0-0.b70cf70
> └── share
>     ├── cargo
>     │   ├── registry
>     │   │   ├── pubgrub-0.3.0.crate
>     │   │   └── version-ranges-0.1.1.crate
>     │   └── src
>     │       ├── pubgrub-0.3.0
>     │       │   ├── benches
>     │       │   │   ├── backtracking.rs
> (ins)efraim <at> 3900XT ~/workspace/guix-rust-team$ tree /gnu/store/9310sgn182cgqy4p1xkn2hi8x4wg0nn8-rust-pubgrub-0.3.0-0.b70cf70 | head
> /gnu/store/9310sgn182cgqy4p1xkn2hi8x4wg0nn8-rust-pubgrub-0.3.0-0.b70cf70
> └── share
>     ├── cargo
>     │   ├── registry
>     │   │   ├── pubgrub-0.3.0.crate
>     │   │   └── version-ranges-0.1.1.crate
>     │   └── src
>     │       ├── pubgrub-0.3.0
>     │       │   ├── benches
>     │       │   │   ├── backtracking.rs

Thanks!  It works for rust-pipewire too.




This bug report was last modified 14 days ago.

Previous Next


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