about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-24 07:55:46 +0000
committerbors <bors@rust-lang.org>2014-09-24 07:55:46 +0000
commitd8af469c01dc502eb85e934e53e9fcf94d1515ff (patch)
treeb78af770f280b07c6fe0b477c29d0ac8d9c53230 /src/rustllvm/PassWrapper.cpp
parent9cce2b7bab948805e48e63ec4eb60f04004a5138 (diff)
parent59e750f198a31ef1222dd6048d873391a459abcf (diff)
downloadrust-d8af469c01dc502eb85e934e53e9fcf94d1515ff.tar.gz
rust-d8af469c01dc502eb85e934e53e9fcf94d1515ff.zip
auto merge of #17459 : dradtke/rust/master, r=brson
This PR adds a new Vim compiler file specifically for use with Cargo. It passes all arguments through, so commands like `:make build`, `:make clean`, and `:make run` all work as expected.

It also adds a quickfix autocommand for fixing the paths before populating the error list. `cargo build` reports errors with file paths that are relative to Cargo.toml, so if you're further down in the project tree, then trying to open the error will result in a blank buffer because Vim treats that path as relative to the working directory instead. With this fix, the paths work properly no matter where you are in the project.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions