Ship rustc_smir with rustc

This commit is contained in:
Oli Scherer 2022-06-02 10:08:38 +00:00
parent bec75389a3
commit 9960cc1f08
2 changed files with 14 additions and 0 deletions

View File

@ -3410,6 +3410,7 @@ dependencies = [
"jemalloc-sys", "jemalloc-sys",
"rustc_codegen_ssa", "rustc_codegen_ssa",
"rustc_driver", "rustc_driver",
"rustc_smir",
] ]
[[package]] [[package]]
@ -4401,6 +4402,16 @@ dependencies = [
"tracing", "tracing",
] ]
[[package]]
name = "rustc_smir"
version = "0.0.0"
dependencies = [
"rustc_borrowck",
"rustc_driver",
"rustc_interface",
"rustc_middle",
]
[[package]] [[package]]
name = "rustc_span" name = "rustc_span"
version = "0.0.0" version = "0.0.0"

View File

@ -9,6 +9,9 @@ rustc_driver = { path = "../rustc_driver" }
# Make sure rustc_codegen_ssa ends up in the sysroot, because this # 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. # crate is intended to be used by codegen backends, which may not be in-tree.
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" } 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] [dependencies.jemalloc-sys]
version = "0.5.0" version = "0.5.0"