racer-rust / racer

Rust Code Completion utility
MIT License
3.36k stars 278 forks source link

racer does not work on `doom-emacs` after installation of all the packages #1179

Open emadbaqeri opened 2 years ago

emadbaqeri commented 2 years ago

Hey folks, I'm have install rust and rustup dev components alongside racer. I'm trying to use doom-emacs but I got this error and no code completion.

Screen Shot 2022-04-02 at 02 59 03

I don't know what should have done since I have installed the cargo, cargo +nightly, rustup and all the dev dependencies of the rust on my device. I should also mention that I've got M1 CPU on my machine, is the problem the CPU?

calebcartwright commented 2 years ago

FWIW racer isn't really supported nor maintained anymore, and folks are generally encouraged to use Rust Analyzer instead of racer and racer-based tooling.

Can't tell you what's going on especially from a screenshot with chopped off text, but no, I highly doubt it's related to the processor architecture.

emadbaqeri commented 2 years ago

Thanks @calebcartwright, Do you need more information about the installation process and packages or maybe versions? Or maybe I should go with rust-analyzer? Is there any way that I could install rust-racer on Mac with M1 CPU?

calebcartwright commented 2 years ago

Or maybe I should go with rust-analyzer?

This :point_up:

emadbaqeri commented 2 years ago

Thank you so much 👍🏽

calebcartwright commented 2 years ago

you're welcome!

emadbaqeri commented 2 years ago

@calebcartwright Thanks for your help. I have done as you said and followed this config instruction by @rksm. That's just awesome. I'm writing this for other people that might have the same problem. And also you were right about the CPU architecture.

calebcartwright commented 2 years ago

great, thanks for sharing!