Correct path to rustlib

This commit is contained in:
Sebastian Schulze 2015-09-11 14:45:37 +02:00
parent 63966d60ac
commit c53c211b85
2 changed files with 5 additions and 2 deletions

View File

@ -49,6 +49,9 @@
;;; Enable Projectile cache until I know what is going on
(setq projectile-enable-caching t)
;;; Skip to next match group automatically
(setq helm-move-to-line-cycle-in-source nil)
;;; Start with an english dictionary
(setq ispell-dictionary 'english)

View File

@ -35,12 +35,12 @@
(setq ruby-insert-encoding-magic-comment nil)
(setq flycheck-rust-executable "/usr/local/bin/rustc")
(setq flycheck-rust-library-path (quote ("/usr/local/lib")))
(setq flycheck-rust-library-path (quote ("/usr/local/lib/rustlib")))
;;; Fix up rust mode
(setenv "LD_LIBRARY_PATH"
(let ((current (getenv "LD_LIBRARY_PATH"))
(new "/usr/local/libs"))
(new "/usr/local/lib/rustlib"))
(if current (concat new ":" current) new)))
(provide 'coding-config)