Skip to content

"Unable to find libstd under RUST_SRC_PATH" #1137

Open
@kfrncs

Description

@kfrncs

When I run racer complete std::io::B, I get this:

Unable to find libstd under RUST_SRC_PATH. N.B. RUST_SRC_PATH variable needs to point to the *s│ rc* directory inside a rust checkout e.g. "/home/foouser/src/rust/src". Current value ""/home/ken/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd""

Despite the fact that my ~/.zshrc contains:

export RUST_SRC_PATH=${HOME}/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src

Any help would be appreciated.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions