Skip to content

Commit 2c31b45

Browse files
committed
mv std libs to library/
1 parent 9be8ffc commit 2c31b45

File tree

875 files changed

+1254
-1222
lines changed

Some content is hidden

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

875 files changed

+1254
-1222
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
[submodule "src/doc/rust-by-example"]
2626
path = src/doc/rust-by-example
2727
url = https://github.com/rust-lang/rust-by-example.git
28-
[submodule "src/stdarch"]
29-
path = src/stdarch
28+
[submodule "library/stdarch"]
29+
path = library/stdarch
3030
url = https://github.com/rust-lang/stdarch.git
3131
[submodule "src/doc/rustc-dev-guide"]
3232
path = src/doc/rustc-dev-guide

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
members = [
33
"src/bootstrap",
44
"src/rustc",
5-
"src/libstd",
6-
"src/libtest",
75
"src/librustc_codegen_llvm",
6+
"library/std",
7+
"library/test",
88
"src/tools/cargotest",
99
"src/tools/clippy",
1010
"src/tools/compiletest",
@@ -74,11 +74,11 @@ rustfmt-nightly = { path = "src/tools/rustfmt" }
7474
# here
7575
rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
7676

77-
# See comments in `tools/rustc-std-workspace-core/README.md` for what's going on
77+
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
7878
# here
79-
rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
80-
rustc-std-workspace-alloc = { path = 'src/tools/rustc-std-workspace-alloc' }
81-
rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' }
79+
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
80+
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
81+
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
8282

8383
[patch."https://github.com/rust-lang/rust-clippy"]
8484
clippy_lints = { path = "src/tools/clippy/clippy_lints" }

src/liballoc/Cargo.toml renamed to library/alloc/Cargo.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ autotests = false
66
autobenches = false
77
edition = "2018"
88

9-
[lib]
10-
name = "alloc"
11-
path = "lib.rs"
12-
139
[dependencies]
14-
core = { path = "../libcore" }
10+
core = { path = "../core" }
1511
compiler_builtins = { version = "0.1.10", features = ['rustc-dep-of-std'] }
1612

1713
[dev-dependencies]
@@ -20,16 +16,16 @@ rand_xorshift = "0.2"
2016

2117
[[test]]
2218
name = "collectionstests"
23-
path = "../liballoc/tests/lib.rs"
19+
path = "tests/lib.rs"
2420

2521
[[bench]]
2622
name = "collectionsbenches"
27-
path = "../liballoc/benches/lib.rs"
23+
path = "benches/lib.rs"
2824
test = true
2925

3026
[[bench]]
3127
name = "vec_deque_append_bench"
32-
path = "../liballoc/benches/vec_deque_append.rs"
28+
path = "benches/vec_deque_append.rs"
3329
harness = false
3430

3531
[features]
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)