about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-06-02 10:08:38 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-06-02 10:08:38 +0000
commit9960cc1f084694f096d6876e1afd698cce1222c8 (patch)
tree677ef366494790b0005b548d338742ea8689450d
parentbec75389a395798c5779f70517f4ad9a5878aee1 (diff)
Ship rustc_smir with rustc
-rw-r--r--Cargo.lock11
-rw-r--r--compiler/rustc/Cargo.toml3
2 files changed, 14 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7ed327e9f4c..e5908889dce 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3410,6 +3410,7 @@ dependencies = [
  "jemalloc-sys",
  "rustc_codegen_ssa",
  "rustc_driver",
+ "rustc_smir",
 ]
 
 [[package]]
@@ -4402,6 +4403,16 @@ dependencies = [
 ]
 
 [[package]]
+name = "rustc_smir"
+version = "0.0.0"
+dependencies = [
+ "rustc_borrowck",
+ "rustc_driver",
+ "rustc_interface",
+ "rustc_middle",
+]
+
+[[package]]
 name = "rustc_span"
 version = "0.0.0"
 dependencies = [
diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml
index 5e0bb1a7f95..27ee3dd2aea 100644
--- a/compiler/rustc/Cargo.toml
+++ b/compiler/rustc/Cargo.toml
@@ -9,6 +9,9 @@ rustc_driver = { path = "../rustc_driver" }
 # 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.
 rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
+# Make sure rustc_smir ends up in the sysroot, because this
+# crate is intended to be used by stable MIR consumers, which are not in-tree
+rustc_smir = { path = "../rustc_smir" }
 
 [dependencies.jemalloc-sys]
 version = "0.5.0"