Skip to content

Correct way to package this in distributions #1559

Open
@faulesocke

Description

@faulesocke

What is the correct way to package rustup for shipping with linux distributions? When we just install the compiled rustup-init as /usr/bin/rustup it does not seem to put anything into ~/.cargo/bin. However, when we install it as /usr/bin/rustup-init, the users will just have to run rustup-init every time the package gets updated in order to get the correct version installed into their ~/.cargo/bin. So what is the correct way to do things, i.e. how can I get rustup to install symlinks into ~/.cargo/bin correctly (hardlinks won't probably work since it's a common pattern that /home and /usr reside on different file systems).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions