Skip to content

Provide a non-cargo alternative to bootstrap rust #38652

Closed
@infinity0

Description

@infinity0

Requiring cargo to bootstrap rust (as is the case with the planned move to rustbuild) will greatly raise the cost of bringing it to new architectures, as well as making it harder to audit security-wise.

One way this could be done, is to add functionality in cargo to output a shell script that runs "what it would have done", then check this in with the rustbuild source code. (edit: assuming this output is human-readable)

For more information see http://bootstrappable.org/best-practises.html - for example, GNU Make does not require itself to build, it can be built from a shell script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions