Skip to content

Commit dcefdcd

Browse files
committed
Rename rustc_trans to rustc_codegen_llvm
1 parent 67f54e6 commit dcefdcd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+106
-105
lines changed

src/Cargo.lock

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/doc/rustc-ux-guidelines.md

Lines changed: 1 addition & 1 deletion

src/libcore/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! rustc compiler intrinsics.
1212
//!
13-
//! The corresponding definitions are in librustc_trans/intrinsic.rs.
13+
//! The corresponding definitions are in librustc_codegen_llvm/intrinsic.rs.
1414
//!
1515
//! # Volatiles
1616
//!

src/librustc/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ syntax_pos = { path = "../libsyntax_pos" }
3232
# rlib/dylib pair but all crates.io crates tend to just be rlibs. This means
3333
# we've got a problem for dependency graphs that look like:
3434
#
35-
# foo - rustc_trans
36-
# / \
37-
# rustc ---- rustc_driver
35+
# foo - rustc_codegen_llvm
36+
# / \
37+
# rustc ----- rustc_driver
3838
# \ /
3939
# foo - rustc_metadata
4040
#
41-
# Here the crate `foo` is linked into the `rustc_trans` and the
41+
# Here the crate `foo` is linked into the `rustc_codegen_llvm` and the
4242
# `rustc_metadata` dylibs, meaning we've got duplicate copies! When we then
4343
# go to link `rustc_driver` the compiler notices this and gives us a compiler
4444
# error.
4545
#
4646
# To work around this problem we just add these crates.io dependencies to the
4747
# `rustc` crate which is a shared dependency above. That way the crate `foo`
4848
# shows up in the dylib for the `rustc` crate, deduplicating it and allowing
49-
# crates like `rustc_trans` to use `foo` *through* the `rustc` crate.
49+
# crates like `rustc_codegen_llvm` to use `foo` *through* the `rustc` crate.
5050
#
5151
# tl;dr; this is not needed to get `rustc` to compile, but if you remove it then
5252
# later crate stop compiling. If you can remove this and everything

src/librustc/README.md

Lines changed: 18 additions & 18 deletions

src/librustc/util/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn profq_msg(msg: ProfileQueriesMsg) {
8484
// Do nothing.
8585
//
8686
// FIXME(matthewhammer): Multi-threaded translation phase triggers the panic below.
87-
// From backtrace: rustc_trans::back::write::spawn_work::{{closure}}.
87+
// From backtrace: rustc_codegen_llvm::back::write::spawn_work::{{closure}}.
8888
//
8989
// panic!("no channel on which to send profq_msg: {:?}", msg)
9090
}

src/librustc_trans/Cargo.toml renamed to src/librustc_codegen_llvm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
authors = ["The Rust Project Developers"]
3-
name = "rustc_trans"
3+
name = "rustc_codegen_llvm"
44
version = "0.0.0"
55

66
[lib]
7-
name = "rustc_trans"
7+
name = "rustc_codegen_llvm"
88
path = "lib.rs"
99
crate-type = ["dylib"]
1010
test = false
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)