Skip to content

Commit 1045185

Browse files
committed
[Fix #6] Update to new Cargo target layout
1 parent 7a6eadd commit 1045185

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flycheck-rust.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; flycheck-rust.el --- Flycheck: Rust additions and Cargo support -*- lexical-binding: t; -*-
22

3-
;; Copyright (C) 2014 Sebastian Wiesner <[email protected]>
3+
;; Copyright (C) 2014, 2015 Sebastian Wiesner <[email protected]>
44

55
;; Author: Sebastian Wiesner <[email protected]>
66
;; URL: https://github.com/flycheck/flycheck-rust
@@ -99,8 +99,8 @@ Flycheck according to the Cargo project layout."
9999
(if (flycheck-rust-executable-p rel-name) "bin" "lib"))
100100
;; Find build libraries
101101
(setq-local flycheck-rust-library-path
102-
(list (expand-file-name "target" root)
103-
(expand-file-name "target/deps" root)))))))
102+
(list (expand-file-name "target/debug" root)
103+
(expand-file-name "target/debug/deps" root)))))))
104104

105105
(provide 'flycheck-rust)
106106

0 commit comments

Comments
 (0)