racer-rust / emacs-racer

Racer support for Emacs
399 stars 48 forks source link

Trouble with racer in emacs #156

Open notmike-5 opened 1 year ago

notmike-5 commented 1 year ago

Is racer deprecated? Should I be using rust-analyzer instead? Here is my error output

The last racer command was:

$ cd /home/user/bin/bitverter/bitverter_cli/ $ export CARGO_HOME=/home/user/.cargo $ export RUST_SRC_PATH=/home/user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library $ /home/user/.cargo/bin/racer complete 2 7 /home/user/bin/bitverter/bitverter_cli/src/main.rs /tmp/racerThuBRg

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/user/.cargo RUST_SRC_PATH=/home/user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library /home/user/.cargo/bin/racer complete 2 7 /home/user/bin/bitverter/bitverter_cli/src/main.rs

Please report bugs on GitHub.

timmc commented 5 months ago

According to https://github.com/rust-lang/rust-mode racer is deprecated and rust-analyzer should be used instead.