You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
After successfully running rustup component add rust-src the folder [path]/.rustup/toolchains/[my-toolchain]/lib/rustlib/src/rust/src doesn't exist.
From this issue, Im expecting the sources to be put in there but I can't find them.
The context here is that I want to install racer, which expects the source to be there but can't find it.
After running rustup component add rust-src, first time it succeeds, second time I get info: component 'rust-src' is up to date
I can even run
% rustup component list | grep rust-src
rust-src (installed)
However if I run:
% echo `rustc --print sysroot`/lib/rustlib/src/rust/src
[path]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src
% cd [path]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src
cd: no such file or directory: [path]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src
% cd [path]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust
% ls
Cargo.lock library
Where did it go? Possible Solution(s)
Looking back at this issue, could you provide a command to find the folder with the installed source?
Notes
Output of rustup --version: rustup 1.22.1 (b01adbb 2020-07-08)
Output of rustup show:
The directory was renamed to library. Racer was updated in racer-rust/racer#1130 to use the new directory, but it looks like the README was not updated. Perhaps file an issue on the racer repo?
Problem
After successfully running
rustup component add rust-src
the folder[path]/.rustup/toolchains/[my-toolchain]/lib/rustlib/src/rust/src
doesn't exist.From this issue, Im expecting the sources to be put in there but I can't find them.
The context here is that I want to install racer, which expects the source to be there but can't find it.
Steps
I'm following this installation guide step by step using cargo.
After running
rustup component add rust-src
, first time it succeeds, second time I getinfo: component 'rust-src' is up to date
I can even run
However if I run:
Where did it go?
Possible Solution(s)
Looking back at this issue, could you provide a command to find the folder with the installed source?
Notes
Output of
rustup --version
: rustup 1.22.1 (b01adbb 2020-07-08)Output of
rustup show
:The text was updated successfully, but these errors were encountered: