Add a new rustc_driver
dylib to rexport rustc_driver_impl
This commit is contained in:
parent
73681323e6
commit
2aceaf4849
7 changed files with 54 additions and 29 deletions
10
compiler/rustc_driver/Cargo.toml
Normal file
10
compiler/rustc_driver/Cargo.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[package]
|
||||
name = "rustc_driver"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["dylib"]
|
||||
|
||||
[dependencies]
|
||||
rustc_driver_impl = { path = "../rustc_driver_impl" }
|
7
compiler/rustc_driver/src/lib.rs
Normal file
7
compiler/rustc_driver/src/lib.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
// This crate is intentionally empty and a rexport of `rustc_driver_impl` to allow the code in
|
||||
// `rustc_driver_impl` to be compiled in parallel with other crates.
|
||||
|
||||
#![allow(unused_extern_crates)]
|
||||
extern crate rustc_driver_impl;
|
||||
|
||||
pub use rustc_driver_impl::*;
|
Loading…
Add table
Add a link
Reference in a new issue