Correct path to rustlib
This commit is contained in:
parent
63966d60ac
commit
c53c211b85
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue