Skip to content

Rustup won't install rust-src src files on nightly 1.48 #2497

@zenMaya

Description

@zenMaya

Problem

Rustup won't install rust-src src files. Library and Cargo.lock are present. But no src folder.
Steps

  1. install rustup 1.22.1
  2. install nightly toolchain
  3. install rust-src component to that toolchain
  4. the src file is missing from ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust

Notes
This is not present on stable toolchain
Output of rustup --version: 1.22.1 (2020-07-08)
Output of rustup show: rustc 1.48.0-nightly (0da580074 2020-09-22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions