Closed Moroshima closed 1 month ago
I config rust-mode on my archlinux device, it works well.
(use-package rust-mode :init (setq rust-mode-treesitter-derive t))
But when I try to use the same init.el on my macbook (with apple silicon), after I press enter or input symbol like "(", the emacs crashed with the error below:
$ emacs main.rs Fatal error 11: Segmentation fault zsh: segmentation fault emacs main.rs SEGV $
I have no idea how to debug the error.
It seems to be a bug of emacs built-in rust-ts-mode, it's confusing.
brew install --build-from-source solved the problem.
brew install --build-from-source
I config rust-mode on my archlinux device, it works well.
But when I try to use the same init.el on my macbook (with apple silicon), after I press enter or input symbol like "(", the emacs crashed with the error below:
I have no idea how to debug the error.