Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ehuss/rls-rustc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%