Skip to content

Correcting toolchain path RUST_SRC_PATH in README.md#1149

Merged
kngwyu merged 1 commit intoracer-rust:masterfrom
deryrahman:master
Jan 2, 2021
Merged

Correcting toolchain path RUST_SRC_PATH in README.md#1149
kngwyu merged 1 commit intoracer-rust:masterfrom
deryrahman:master

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


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

Comments