about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-30 05:26:27 +0000
committerbors <bors@rust-lang.org>2020-03-30 05:26:27 +0000
commit8926bb497d9b127eb318aea5aed0e745d8381591 (patch)
tree637b0151ddc296b61025dd9b1e5424cb99893a79 /src/libstd
parent0afdf43dc1d9be4c8b422840166b51dd99e56a16 (diff)
parent2a9283914721317564e0d5a6672e4f39767a9311 (diff)
downloadrust-8926bb497d9b127eb318aea5aed0e745d8381591.tar.gz
rust-8926bb497d9b127eb318aea5aed0e745d8381591.zip
Auto merge of #70536 - Centril:rustc-middle, r=eddyb
Rename `librustc` to `librustc_middle`

Here we rename `librustc` to `librustc_middle`.

This crate is not nearly as large or central as it was previously and so it doesn't make much sense to give it such a central name as `librustc` ("the entry point to the compiler"). Moreover, there is already a `rustc` crate which is has the actual `fn main` of `rustc`, so having `librustc` is confusing relative to that.

r? @eddyb
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/alloc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs
index 25f3ddcbeba..79dd89e53bb 100644
--- a/src/libstd/alloc.rs
+++ b/src/libstd/alloc.rs
@@ -253,7 +253,7 @@ pub mod __default_lib_allocator {
     // `__rust_alloc` etc symbols (see `src/liballoc/alloc.rs) when there is
     // no `#[global_allocator]` attribute.
 
-    // for symbol names src/librustc/middle/allocator.rs
+    // for symbol names src/librustc_middle/middle/allocator.rs
     // for signatures src/librustc_allocator/lib.rs
 
     // linkage directives are provided as part of the current compiler allocator