Skip to content

Commit 60e4158

Browse files
committedNov 22, 2018
Move fake rustc_codegen_ssa dependency from rustc_driver to rustc-main
1 parent d6d8a33 commit 60e4158

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎Cargo.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -2064,6 +2064,7 @@ dependencies = [
20642064
name = "rustc-main"
20652065
version = "0.0.0"
20662066
dependencies = [
2067+
"rustc_codegen_ssa 0.0.0",
20672068
"rustc_driver 0.0.0",
20682069
"rustc_target 0.0.0",
20692070
]
@@ -2246,7 +2247,6 @@ dependencies = [
22462247
"rustc-rayon 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
22472248
"rustc_allocator 0.0.0",
22482249
"rustc_borrowck 0.0.0",
2249-
"rustc_codegen_ssa 0.0.0",
22502250
"rustc_codegen_utils 0.0.0",
22512251
"rustc_data_structures 0.0.0",
22522252
"rustc_errors 0.0.0",

‎src/librustc_driver/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ smallvec = { version = "0.6.5", features = ["union"] }
3939
syntax_ext = { path = "../libsyntax_ext" }
4040
syntax_pos = { path = "../libsyntax_pos" }
4141

42-
# Make sure rustc_codegen_ssa ends up in the sysroot, because this
43-
# crate is intended to be used by codegen backends, which may not be in-tree.
44-
rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
45-
4642
[dependencies.jemalloc-sys]
4743
version = '0.1.8'
4844
optional = true

‎src/rustc/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ path = "rustc.rs"
1111
rustc_target = { path = "../librustc_target" }
1212
rustc_driver = { path = "../librustc_driver" }
1313

14+
# Make sure rustc_codegen_ssa ends up in the sysroot, because this
15+
# crate is intended to be used by codegen backends, which may not be in-tree.
16+
rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
17+
1418
[features]
1519
jemalloc = ['rustc_driver/jemalloc-sys']

0 commit comments

Comments
 (0)
Please sign in to comment.