Skip to content

Unable to find libstd under RUST_SRC_PATH. #1139

Open

Description

@PlumpHip

% racer complete std::io::B
Unable to find libstd under RUST_SRC_PATH. N.B. RUST_SRC_PATH variable needs to point to the src directory inside a rust checkout e.g. "/home/foouser/src/rust/src". Current value ""/nix/store/fjghknnd4x9zpgx6hxznaiw6c7y0jr2s-rust-1.47.0-2020-10-07-18bf6b4f0/lib/rustlib/src/rust/library/libstd""

I use nix Mozilla-rust-overlay stable

nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [ #
# "lldb-preview"
"clippy-preview"
# "miri-preview"
"rls-preview"
# "rust-analyzer-preview"
"rustfmt-preview"
"llvm-tools-preview"
"rust-analysis"
"rust-std"
"rustc-dev"
# "rustc-docs"
"rust-src"
]

Thanks

Activity

  1. PlumpMath commented on Nov 4, 2020

    @PlumpMath

    I solve latest racer version.
    Cargo install racer
    THANKS :))

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