Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Latest commit

 

History

History
25 lines (16 loc) · 840 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 840 Bytes

rls-rustc

NOTE: Development has been moved to the central RLS repository.

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.