Skip to content

suggest new bootstrap technique #19706

Closed
Closed
@aidancully

Description

@aidancully

Bootstrapping the rust compiler requires a working rust compiler, which is currently obtained via a snapshot directory. I'd like to suggest, instead, that any object files compiled from rust-language source be distributed as LLVM IR code, and the LLVM infrastructure be used to compile those to native objects as part of the stage0 build. If this sort of approach is possible, it would remove the dependency on rust for a working rust compiler to build the rust compiler, simplifying deployment to new platforms.

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