Skip to content

Instruction for creating stage0 toolchain doesn't work #1693

Open
@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

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

    Issue actions