Skip to content

Commit

Permalink
Move fake rustc_codegen_ssa dependency from rustc_driver to rustc-main
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Nov 22, 2018
1 parent d6d8a33 commit 60e4158
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock
Expand Up @@ -2064,6 +2064,7 @@ dependencies = [
name = "rustc-main"
version = "0.0.0"
dependencies = [
"rustc_codegen_ssa 0.0.0",
"rustc_driver 0.0.0",
"rustc_target 0.0.0",
]
Expand Down Expand Up @@ -2246,7 +2247,6 @@ dependencies = [
"rustc-rayon 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_allocator 0.0.0",
"rustc_borrowck 0.0.0",
"rustc_codegen_ssa 0.0.0",
"rustc_codegen_utils 0.0.0",
"rustc_data_structures 0.0.0",
"rustc_errors 0.0.0",
Expand Down
4 changes: 0 additions & 4 deletions src/librustc_driver/Cargo.toml
Expand Up @@ -39,10 +39,6 @@ smallvec = { version = "0.6.5", features = ["union"] }
syntax_ext = { path = "../libsyntax_ext" }
syntax_pos = { path = "../libsyntax_pos" }

# 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 = "../librustc_codegen_ssa" }

[dependencies.jemalloc-sys]
version = '0.1.8'
optional = true
Expand Down
4 changes: 4 additions & 0 deletions src/rustc/Cargo.toml
Expand Up @@ -11,5 +11,9 @@ path = "rustc.rs"
rustc_target = { path = "../librustc_target" }
rustc_driver = { path = "../librustc_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 = "../librustc_codegen_ssa" }

[features]
jemalloc = ['rustc_driver/jemalloc-sys']

0 comments on commit 60e4158

Please sign in to comment.