diff options
| author | bors <bors@rust-lang.org> | 2013-07-18 05:07:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-18 05:07:39 -0700 |
| commit | 929b75e220f6fced42dcfe2146700ceba1e2cebe (patch) | |
| tree | f0c9d215a092a7c5282b64b6403932fc372ded44 /src/rt/rust_kernel.cpp | |
| parent | 0335339c184e46eac958841e0e021dbdab873efd (diff) | |
| parent | 917d720f4859e807ec806e3674b18cd8950f136a (diff) | |
| download | rust-929b75e220f6fced42dcfe2146700ceba1e2cebe.tar.gz rust-929b75e220f6fced42dcfe2146700ceba1e2cebe.zip | |
auto merge of #7747 : chris-morgan/rust/vim-compiler-rustc, r=huonw
Note that this is not actually *used* by default; it is a matter of configuration still, because you might want to: - Compile all .rs files with `rustc %` (where each can be built itself) - Compile all .rs files with `rustc some-file.rs` (where you are editing part of a crate) - Compile with a different tool, such as `make`. (In this case you might put a `~/.vim/after/compiler/rustc.vim` to match such cases, set makeprg and extend errorformat as appropriate. That should probably go in a different compiler mode, e.g. make-rustc.) To try using it, `:compiler rustc`. Then, `:make` on a file you would run `rustc` on will work its magic, invoking rustc. To automate this, you could have something like `autocmd FileType rust compiler rustc` in your Vim config.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
