Public bug reported:

Installing the cargo package installs both `/usr/bin/cargo` and
`/usr/bin/cargo-1.93`. Cargo supports external subcommands by making an
executable `cargo-*` command available in PATH. `cargo-1.93` looks like
a Cargo subcommand, but is not.

This means that running `cargo 1.93` executes `cargo-1.93 1.93` executes
`cargo-1.93 1.93` executes ...

We probably shouldn't put the versioned toolchain binaries in `/usr/bin`
at all, but only in `/usr/lib/rust-*/bin/`.

Upstream PR that detects/prevents this scenario:
https://github.com/rust-lang/cargo/pull/17645

** Affects: rustc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172249

Title:
  `cargo 1.93` infinitely hangs/recurses

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/2172249/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to