Skip to content

Improve Rust installation with Python's rustup #15

@Tremeschin

Description

@Tremeschin

The bundled rustup isn't rustup-init that creates symlinks to the toolchain items. Rustup expects to be at CARGO_HOME:

❯ rustup install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.87.0 (17067e9ac 2025-05-09)
error: rustup is not installed at '/home/tremeschin/.cargo'

I might take on #13 together and create a class to do this sort of automation. Arch package contains such links at /usr/bin/, there's a way around this to symlink ~/.cargo/bin/rustup to the venv's one, but should we do it in a separate Pyaket's CARGO_HOME (no)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions