about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-02-02 07:17:46 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-02-02 07:34:41 +0100
commit2aceaf4849a806813c31e9987df458e08c11e5f3 (patch)
treeb47c1afcbb519e4ae64919507c9b0bcfd961e577 /compiler/rustc
parent73681323e611972caa9a6107312c9e1f74467545 (diff)
downloadrust-2aceaf4849a806813c31e9987df458e08c11e5f3.tar.gz
rust-2aceaf4849a806813c31e9987df458e08c11e5f3.zip
Add a new `rustc_driver` dylib to rexport `rustc_driver_impl`
Diffstat (limited to 'compiler/rustc')
-rw-r--r--compiler/rustc/Cargo.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml
index 27ee3dd2aea..41003ad83f3 100644
--- a/compiler/rustc/Cargo.toml
+++ b/compiler/rustc/Cargo.toml
@@ -5,6 +5,7 @@ edition = "2021"
 
 [dependencies]
 rustc_driver = { path = "../rustc_driver" }
+rustc_driver_impl = { path = "../rustc_driver_impl" }
 
 # Make sure rustc_codegen_ssa ends up in the sysroot, because this
 # crate is intended to be used by codegen backends, which may not be in-tree.
@@ -20,6 +21,6 @@ features = ['unprefixed_malloc_on_supported_platforms']
 
 [features]
 jemalloc = ['jemalloc-sys']
-llvm = ['rustc_driver/llvm']
-max_level_info = ['rustc_driver/max_level_info']
-rustc_use_parallel_compiler = ['rustc_driver/rustc_use_parallel_compiler']
+llvm = ['rustc_driver_impl/llvm']
+max_level_info = ['rustc_driver_impl/max_level_info']
+rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']