Skip to content

Instantly share code, notes, and snippets.

@mystor
Created August 2, 2015 16:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mystor/7c99459090bfecaeb6e6 to your computer and use it in GitHub Desktop.
Save mystor/7c99459090bfecaeb6e6 to your computer and use it in GitHub Desktop.
Spacemacs configuration for rust
# You could also do this in emacs probably, but this is easier.
export RUST_SRC_PATH=/path/to/rust/checkout/src
export PATH="$PATH:/path/to/racer/binary/"
; [..]
(defun dotspacemacs/init ()
(setq-default
; [..]
rust-enable-racer t
)
)
; [..]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment