summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-03 21:50:01 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-05 12:35:18 -0400
commit3f1dc326edee5528db80894eedd2036fdc05bca8 (patch)
tree40d1ee81559b8b6f74f5328befa85b013ddb232d /src/librustc_codegen_llvm
parentb437240ceefaad3cdf92ad7e9d1255b8da88dbb3 (diff)
downloadrust-3f1dc326edee5528db80894eedd2036fdc05bca8.tar.gz
rust-3f1dc326edee5528db80894eedd2036fdc05bca8.zip
Remove codegen dependencies
Not doing this leads to building two copies of e.g. num_cpus in the
sysroot and _llvm deps, leading to conflicts between the two when
compiling librustc_codegen_llvm. It's not entirely clear why this is the
case after the changes in this PR but likely has something to do with a
subtle difference in ordering or similar.
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/Cargo.toml4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_codegen_llvm/Cargo.toml b/src/librustc_codegen_llvm/Cargo.toml
index 5e1b0eafdec..98efa6a5804 100644
--- a/src/librustc_codegen_llvm/Cargo.toml
+++ b/src/librustc_codegen_llvm/Cargo.toml
@@ -11,11 +11,7 @@ crate-type = ["dylib"]
 test = false
 
 [dependencies]
-cc = "1.0.1" # Used to locate MSVC
-num_cpus = "1.0"
-tempfile = "3.0"
 rustc_llvm = { path = "../librustc_llvm" }
-memmap = "0.6"
 
 [features]
 # This is used to convince Cargo to separately cache builds of `rustc_codegen_llvm`