Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Fabian Grünbichler
Fri, 16 Oct 2026 07:20
Bug#1148581: cargo install wrapper fails for virtual manifest files
Author: Fabian Grünbichler
Date: Fri, 16 Oct 2026 07:20
Date: Fri, 16 Oct 2026 07:20
33 lines
3398 bytes
3398 bytes
On Mon, 21 Sep 2026 17:21:32 +1000 Reuben Roessler <reuben.roessler@canonical.com> wrote: > Package: cargo > Version: 1.93.1ubuntu1 > Severity: normal > Tags: patch > X-Debbugs-Cc: reuben.roessler@canonical.com > > Dear Maintainer, > > The wrapper for cargo install forces the --path option for "cargo > install" to the current working directory. This fails for projects > which use a virtual manifest file (eg: declares a [workspace] instead > of a [package]). > > I am submitting a patch that will allow developers to override the > installation path option so that they can install a selected crate. It seems Ubuntu is carrying more delta for the cargo wrapper which makes this patch unappliable. Could you either send a cleaned up version matching Debian's copy of the script, or upstream the other changes first if they would benefit us on the Debian side? I am not sure whether overriding the install path has any benefits over just calling `cargo build -p <foo>`, but it should be possible to support it. We could also make the injection of `--path ..` by the wrapper conditional on no path being passed already, which would support calling the wrapper with a path override? We already have similar logic for dropping `--quiet` if the arguments include `--verbose`. I am happy to take MRs on salsa as well, if you prefer that. Fabian
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads