Skip to content

no instructions on how to build cargo without a cargo installation. #14580

Open
@horos22reg

Description

@horos22reg

Problem

It says the following in README.md:

cargo requires the following tools and packages to build:

this is not true in my case. I built rust from rustc-1.81.0-src, and it definitely did NOT provide me a cargo installation. I did:

./x.py build -j 16
../x.py install

and it gave me a rustc binary, but not a cargo binary.

In fact that was the reason I came to this repo.

Could you guys please add a section on how to build cargo without any dependencies here?

Thanks much

Steps

  1. download cargo
  2. try to install cargo without a cargo executable

Possible Solution(s)

  1. a simple makefile or series of commands that can be used to build cargo without the self-dependency.

Notes

please do this. IMO this is a bug since there are cases where cargo is not in fact installed and you need to get it.

Version

don't have cargo installed, but I tried this with 0.82.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-building-cargo-itselfArea: issues with building cargoC-bugCategory: bugS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions