Skip to content

Commit 93a3b41

Browse files
committed
Move almost all of cg_llvm/back/link.rs to cg_ssa
1 parent de4ee55 commit 93a3b41

File tree

8 files changed

+1115
-1111
lines changed

8 files changed

+1115
-1111
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,7 @@ dependencies = [
26342634
"serialize 0.0.0",
26352635
"syntax 0.0.0",
26362636
"syntax_pos 0.0.0",
2637+
"tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
26372638
]
26382639

26392640
[[package]]

src/librustc_codegen_llvm/back/link.rs

Lines changed: 15 additions & 1102 deletions
Large diffs are not rendered by default.

src/librustc_codegen_llvm/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ extern crate rustc_fs_util;
4444
#[macro_use] extern crate syntax;
4545
extern crate syntax_pos;
4646
extern crate rustc_errors as errors;
47-
extern crate serialize;
48-
extern crate tempfile;
4947

5048
use rustc_codegen_ssa::traits::*;
5149
use rustc_codegen_ssa::back::write::{CodegenContext, ModuleConfig, FatLTOInput};
@@ -78,8 +76,6 @@ mod back {
7876
pub mod link;
7977
pub mod lto;
8078
pub mod write;
81-
mod rpath;
82-
pub mod wasm;
8379
}
8480

8581
mod abi;

src/librustc_codegen_ssa/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ log = "0.4.5"
2020
libc = "0.2.44"
2121
jobserver = "0.1.11"
2222
parking_lot = "0.7"
23+
tempfile = "3.0.5"
2324

2425
serialize = { path = "../libserialize" }
2526
syntax = { path = "../libsyntax" }

0 commit comments

Comments
 (0)