#rustc #shim #stable

nightly bin+lib rls-rustc

A simple shim around rustc to allow using save-analysis with a stable toolchain

8 releases (4 breaking)

0.5.0 Aug 4, 2018
0.4.0 Jun 6, 2018
0.3.0 May 17, 2018
0.2.2 Mar 1, 2018
0.1.0 Aug 22, 2017

#5 in Development tools

Download history 4871/week @ 2018-09-19 6008/week @ 2018-09-26 6667/week @ 2018-10-03 5790/week @ 2018-10-10 6326/week @ 2018-10-17 5667/week @ 2018-10-24 7133/week @ 2018-10-31 6066/week @ 2018-11-07 6201/week @ 2018-11-14 6322/week @ 2018-11-21 5883/week @ 2018-11-28 6951/week @ 2018-12-05 6162/week @ 2018-12-12

28,519 downloads per month

Apache-2.0/MIT

7KB
85 lines

rls-rustc

A simple shim around rustc to allow using save-analysis with a stable toolchain

Building and running

cargo build or cargo run

You probably want to use --release

Support

File an issue or ping nrc in #rust-dev-tools

Implementation

The compiler has an extensible driver interface. The main API is the CompilerCalls trait. A tool can emulate the compiler, but adjust operation by implementing that trait. This shim does exactly that, using nearly all the defaults, but setting some properties that are useful for tools. These are usually only available by using a nightly toolchain, but by using this shim, can be used on stable.

In the future we might want to make the properties we set configurable.

No runtime deps