mv std libs to library/
This commit is contained in:
parent
9be8ffcb02
commit
2c31b45ae8
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -25,8 +25,8 @@
|
||||
[submodule "src/doc/rust-by-example"]
|
||||
path = src/doc/rust-by-example
|
||||
url = https://github.com/rust-lang/rust-by-example.git
|
||||
[submodule "src/stdarch"]
|
||||
path = src/stdarch
|
||||
[submodule "library/stdarch"]
|
||||
path = library/stdarch
|
||||
url = https://github.com/rust-lang/stdarch.git
|
||||
[submodule "src/doc/rustc-dev-guide"]
|
||||
path = src/doc/rustc-dev-guide
|
||||
|
12
Cargo.toml
12
Cargo.toml
@ -2,9 +2,9 @@
|
||||
members = [
|
||||
"src/bootstrap",
|
||||
"src/rustc",
|
||||
"src/libstd",
|
||||
"src/libtest",
|
||||
"src/librustc_codegen_llvm",
|
||||
"library/std",
|
||||
"library/test",
|
||||
"src/tools/cargotest",
|
||||
"src/tools/clippy",
|
||||
"src/tools/compiletest",
|
||||
@ -74,11 +74,11 @@ rustfmt-nightly = { path = "src/tools/rustfmt" }
|
||||
# here
|
||||
rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
|
||||
|
||||
# See comments in `tools/rustc-std-workspace-core/README.md` for what's going on
|
||||
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
|
||||
# here
|
||||
rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
|
||||
rustc-std-workspace-alloc = { path = 'src/tools/rustc-std-workspace-alloc' }
|
||||
rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' }
|
||||
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
|
||||
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
|
||||
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
|
||||
|
||||
[patch."https://github.com/rust-lang/rust-clippy"]
|
||||
clippy_lints = { path = "src/tools/clippy/clippy_lints" }
|
||||
|
@ -6,12 +6,8 @@ autotests = false
|
||||
autobenches = false
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "alloc"
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
core = { path = "../core" }
|
||||
compiler_builtins = { version = "0.1.10", features = ['rustc-dep-of-std'] }
|
||||
|
||||
[dev-dependencies]
|
||||
@ -20,16 +16,16 @@ rand_xorshift = "0.2"
|
||||
|
||||
[[test]]
|
||||
name = "collectionstests"
|
||||
path = "../liballoc/tests/lib.rs"
|
||||
path = "tests/lib.rs"
|
||||
|
||||
[[bench]]
|
||||
name = "collectionsbenches"
|
||||
path = "../liballoc/benches/lib.rs"
|
||||
path = "benches/lib.rs"
|
||||
test = true
|
||||
|
||||
[[bench]]
|
||||
name = "vec_deque_append_bench"
|
||||
path = "../liballoc/benches/vec_deque_append.rs"
|
||||
path = "benches/vec_deque_append.rs"
|
||||
harness = false
|
||||
|
||||
[features]
|
@ -7,18 +7,16 @@ autobenches = false
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "core"
|
||||
path = "lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
|
||||
[[test]]
|
||||
name = "coretests"
|
||||
path = "../libcore/tests/lib.rs"
|
||||
path = "tests/lib.rs"
|
||||
|
||||
[[bench]]
|
||||
name = "corebenches"
|
||||
path = "../libcore/benches/lib.rs"
|
||||
path = "benches/lib.rs"
|
||||
test = true
|
||||
|
||||
[dev-dependencies]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user