Add a new rustc_driver dylib to rexport rustc_driver_impl

This commit is contained in:
John Kåre Alsaker 2023-02-02 07:17:46 +01:00
parent 73681323e6
commit 2aceaf4849
7 changed files with 54 additions and 29 deletions

View 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" }

View 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::*;