File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ function is the main entrypoint to the compiler. It takes a configuration for th
14
14
and a closure that takes a [ ` Compiler ` ] . ` run_compiler ` creates a ` Compiler ` from the
15
15
configuration and passes it to the closure. Inside the closure, you can use the ` Compiler `
16
16
to drive queries to compile a crate and get the results. This is what the ` rustc_driver ` does too.
17
- You can see a minimal example of how to use ` rustc_interface ` [ here] [ example ] .
18
17
19
18
You can see what queries are currently available through the rustdocs for [ ` Compiler ` ] .
20
19
You can see an example of how to use them by looking at the ` rustc_driver ` implementation,
@@ -37,7 +36,6 @@ replaces this functionality.
37
36
[ cb ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/trait.Callbacks.html
38
37
[ rd_rc ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/fn.run_compiler.html
39
38
[ i_rc ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/fn.run_compiler.html
40
- [ example ] : https://github.com/rust-lang/rustc-dev-guide/blob/master/src/rustc-driver-example.rs
41
39
[ `rustc_interface` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/index.html
42
40
[ `rustc_driver` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/
43
41
[ `Compiler` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/struct.Compiler.html
You can’t perform that action at this time.
0 commit comments