the last couple of days, I'm noticing that my emacs configuration isn't working smoothly anymore.
(I'm using Rustic+lsp-mode+company).
it seems slower
automatic imports stopped working, even though the options are still shown
I get an error Lisp nesting exceeds ‘max-lisp-eval-depth’", I had to increase the eval depth a good lot
I've tried updating, re-installing, etc, but the issues seem to be remaining.
Has anybody else noticed similar phenomena recently?
EDIT: Ok, it seems like the performance problems can be solved by completely purging the rust installation and install everything from scratch ... at least for me, after doing that, the performance is ok again ...
It helps a little. After increasing the number, the editor doesn't freeze up completely anymore on the initial run of checks after opening a Rust file.
But, until recently it worked fine without having to touch that setting (and my projects didn't increase in complexity since then).
That same SO also (rightly) mentioned that it's a temporary patch to let the code continue executing, but it's not a permanent fix: almost all code that hits a limit of e.g. 500 will also run into a higher limit eventually as essentially it's a stack overflow.
So the real issue is with the elisp code being executed, and if it's possible to find out who the authors are, it should probably be discussed with them.
Ok, I purged both my emacs- and my rust installation (rustup self uninstall, then re-install).
I then switched to nightly and re-installed rust-analyzer using rustup.
I also did a cargo clean in the project.
That at least helped with the performance issues, performance is acceptable now and the max-lisp-eval-depth issue doesn't occur anymore, even without touching the respective variable.