racer-rust / emacs-racer

Racer support for Emacs
399 stars 48 forks source link

racer-describe, this command terminated with exit code 127 #137

Closed c02y closed 4 years ago

c02y commented 4 years ago

The last racer command was:

$ cd /home/chz/rust_projects/references_lifetimes/ $ export CARGO_HOME=/home/chz/.cargo $ export RUST_SRC_PATH=/home/chz/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src $ /home/chz/.cargo/bin/racer complete-with-snippet 81 29 /home/chz/rust_projects/references_lifetimes/src/main.rs /tmp/racerpnWoii

This command terminated with exit code 127.

No output on stdout.

No output on stderr.

The temporary file will have been deleted. You should be able to reproduce the same output from racer with the following command:

$ CARGO_HOME=/home/chz/.cargo RUST_SRC_PATH=/home/chz/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src /home/chz/.cargo/bin/racer complete-with-snippet 81 29 /home/chz/rust_projects/references_lifetimes/src/main.rs

c02y commented 4 years ago

Sorry, I realize I didn't install racer binary. (~/.cargo/bin/racer doesn't exist)