2020-06-12 14:30:34 +01:00
|
|
|
* Serene lang
|
|
|
|
** Setup development environment
|
|
|
|
*** Emacs
|
2020-07-23 21:47:13 +01:00
|
|
|
Install the dependencies including ~clangd~ and just run ~lsp~
|
2020-06-12 14:30:34 +01:00
|
|
|
|
|
|
|
**** Requirements on the Rust side
|
|
|
|
To setup the dev envrionment you need to have *Clippy* and *RLS* installed. Run the
|
|
|
|
following commands to install them:
|
|
|
|
|
|
|
|
#+BEGIN_SRC bash
|
|
|
|
rustup component add rls --toolchain stable-x86_64-unknown-linux-gnu
|
|
|
|
rustup component add --toolchain stable-x86_64-unknown-linux-gnu clippy
|
2020-06-13 17:55:27 +01:00
|
|
|
rustup component add rustfmt
|
2020-06-12 14:30:34 +01:00
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
Use your desired toolchain instead of *stable-x86_64-unknown-linux-gnu*
|