Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting toolchain path RUST_SRC_PATH in README.md #1149

Merged
merged 1 commit into from
Jan 2, 2021

Conversation

deryrahman
Copy link
Contributor

Correcting RUST_SRC_PATH

Newer path: $(rustc --print sysroot)/lib/rustlib/src/rust/library
Older path: $(rustc --print sysroot)/lib/rustlib/src/rust/src

ref:
#1138
#1130
rust-lang/rustup 2522

@@ -61,7 +61,7 @@ As mentioned in the command output, don't forget to add the installation directo
`rustup component add rust-src`

2. (Optional) Set `RUST_SRC_PATH` environment variable to point to the 'src' dir in the Rust source installation
e.g. `% export RUST_SRC_PATH=/usr/local/src/rust/library` or `% export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/library"`
e.g. `% export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library` or `% export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"` (older)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#README.md

Copy link
Collaborator

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kngwyu kngwyu merged commit dc24ee6 into racer-rust:master Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants