-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
When I run racer in emacs, it says an error.
This command terminated with exit code 1.
stdout:
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 ""/home/h3poteto/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/libstd""
No output on stderr.
$ rustc --version
rustc 1.53.0 (53cb7b09b 2021-06-17)
$ pwd
/home/h3poteto/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library
$ ls -lha
total 72K
drwxr-xr-x 18 h3poteto h3poteto 4.0K 6月 30 21:48 .
drwxr-xr-x 4 h3poteto h3poteto 4.0K 6月 30 21:48 ..
drwxr-xr-x 5 h3poteto h3poteto 4.0K 6月 30 21:48 alloc
drwxr-xr-x 8 h3poteto h3poteto 4.0K 6月 30 21:48 backtrace
drwxr-xr-x 5 h3poteto h3poteto 4.0K 6月 30 21:48 core
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 panic_abort
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 panic_unwind
drwxr-xr-x 4 h3poteto h3poteto 4.0K 6月 30 21:48 proc_macro
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 profiler_builtins
drwxr-xr-x 2 h3poteto h3poteto 4.0K 6月 30 21:48 rtstartup
drwxr-xr-x 2 h3poteto h3poteto 4.0K 6月 30 21:48 rustc-std-workspace-alloc
drwxr-xr-x 2 h3poteto h3poteto 4.0K 6月 30 21:48 rustc-std-workspace-core
drwxr-xr-x 2 h3poteto h3poteto 4.0K 6月 30 21:48 rustc-std-workspace-std
drwxr-xr-x 5 h3poteto h3poteto 4.0K 6月 30 21:48 std
drwxr-xr-x 6 h3poteto h3poteto 4.0K 6月 30 21:48 stdarch
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 term
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 test
drwxr-xr-x 3 h3poteto h3poteto 4.0K 6月 30 21:48 unwind
$ find ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu -name "libstd"
There is no libstd in library directory. On the contrary, there is no file called libstd in the /.rustup` directory.
This issue is similar #146 .
Metadata
Metadata
Assignees
Labels
No labels