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

Commit bbab5a8

Browse files
committed
Add README.md
1 parent 3296fc9 commit bbab5a8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# rls-rustc
2+
3+
A simple shim around rustc to allow using save-analysis with a stable toolchain
4+
5+
## Building and running
6+
7+
`cargo build` or `cargo run`
8+
9+
You probably want to use `--release`
10+
11+
## Support
12+
13+
File an issue or ping nrc in #rust-dev-tools
14+
15+
## Implementation
16+
17+
The compiler has an extensible driver interface. The main API is the `CompilerCalls`
18+
trait. A tool can emulate the compiler, but adjust operation by implementing
19+
that trait. This shim does exactly that, using nearly all the defaults, but
20+
setting some properties that are useful for tools. These are usually only
21+
available by using a nightly toolchain, but by using this shim, can be used on
22+
stable.
23+
24+
In the future we might want to make the properties we set configurable.

0 commit comments

Comments
 (0)