Skip to content

Commit 0736400

Browse files
authored
Merge pull request #1138 from leodutra/patch-1
Update README.md to use **/src/rust/library
2 parents ca3ba9c + 3bb13fc commit 0736400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ As mentioned in the command output, don't forget to add the installation directo
4747

4848
1. Fetch the Rust sourcecode
4949

50-
1. automatically via [rustup](https://www.rustup.rs/) and run `rustup component add rust-src` in order to install the source to `$(rustc --print sysroot)/lib/rustlib/src/rust/library` (or `$(rustc --print sysroot)/lib/rustlib/src/rust/src` in older toolchains). Rustup will keep the sources in sync with the toolchain if you run `rustup update`.
50+
1. automatically via [rustup](https://www.rustup.rs/) and run `rustup component add rust-src` in order to install the source to `$(rustc --print sysroot)/lib/rustlib/src/rust/library` (or `$(rustc --print sysroot)/lib/rustlib/src/rust/library` in older toolchains). Rustup will keep the sources in sync with the toolchain if you run `rustup update`.
5151

5252
2. manually from git: https://github.com/rust-lang/rust
5353

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

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

6767
It's recommended to set `RUST_SRC_PATH` for speed up, but racer detects it automatically if you don't set it.
6868

0 commit comments

Comments
 (0)