Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
João Oliveira
João Oliveira add GPL v3 license, closes #7
Latest commit 2f42d1f Jul 29, 2017
Failed to load latest commit information. add GPL v3 license, closes #7 Jul 29, 2017 add cargo compiler by-default Oct 2, 2014
flymake-rust.el add GPL v3 license, closes #7 Jul 29, 2017


An Emacs flymake handler for syntax-checking Rust source code using cargo or rustc.


If you choose not to use one of the convenient packages in Melpa and Marmalade, you'll need to add the directory containing flymake-rust.el to your load-path, and then (require 'flymake-rust). You'll also need to install flymake-easy.


Add the following to your emacs init file:

(require 'flymake-rust)
(add-hook 'rust-mode-hook 'flymake-rust-load)

Checker uses cargo by-default. If you want to use rustc compiler, you must add following strings:

(setq flymake-rust-use-cargo nil)
(require 'flymake-rust)
(add-hook 'rust-mode-hook 'flymake-rust-load)

Thanks Steve Purcell for the help