Skip to content

Instruction for creating stage0 toolchain doesn't work #1693

@champignoom

Description

@champignoom

rustup toolchain link stage0 build/host/stage0-sysroot # beta compiler + stage0 std

This instruction fails:

~/code/rust$ ./x.py build library
...
Build completed successfully in 0:04:44

~/code/rust$ rustup toolchain link stage0 build/host/stage0-sysroot/
error: not a directory: 'build/host/stage0-sysroot/bin'

~/code/rust$ find build -name bin
build/x86_64-unknown-linux-gnu/ci-llvm/bin
build/x86_64-unknown-linux-gnu/llvm/bin
build/x86_64-unknown-linux-gnu/llvm/build/bin
build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/bin
build/x86_64-unknown-linux-gnu/stage1/bin
build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin
build/x86_64-unknown-linux-gnu/stage0/bin
build/x86_64-unknown-linux-gnu/rustfmt/lib/rustlib/x86_64-unknown-linux-gnu/bin
build/x86_64-unknown-linux-gnu/rustfmt/bin

~/code/rust$ git rev-parse HEAD
9c843d9fa322596c7d525c78fa89731ecf7afbfe

Activity

added
T-bootstrapRelevant to bootstrap team
I-incorrectIssue: info is incorrect or misleading
A-buildArea: building the compiler
E-mediumDifficulty: might require some prior knowledge or code reading
on Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildArea: building the compilerE-mediumDifficulty: might require some prior knowledge or code readingI-incorrectIssue: info is incorrect or misleadingT-bootstrapRelevant to bootstrap team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jieyouxu@champignoom

        Issue actions

          Instruction for creating stage0 toolchain doesn't work · Issue #1693 · rust-lang/rustc-dev-guide