Skip to content

Commit 2581b14

Browse files
committed
bootstrap: Add a bunch of Cargo.toml files
These describe the structure of all our crate dependencies.
1 parent 7cbd245 commit 2581b14

File tree

41 files changed

+642
-0
lines changed

Some content is hidden

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

41 files changed

+642
-0
lines changed

src/liballoc/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "alloc"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "alloc"
8+
path = "lib.rs"
9+
test = false
10+
11+
[dependencies]
12+
core = { path = "../libcore" }
13+
libc = { path = "../rustc/libc_shim" }
14+
alloc_system = { path = "../liballoc_system" }

src/liballoc_jemalloc/Cargo.toml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "alloc_jemalloc"
4+
version = "0.0.0"
5+
build = "build.rs"
6+
links = "jemalloc"
7+
8+
[lib]
9+
name = "alloc_jemalloc"
10+
path = "lib.rs"
11+
test = false
12+
13+
[dependencies]
14+
core = { path = "../libcore" }
15+
libc = { path = "../rustc/libc_shim" }
16+
17+
[build-dependencies]
18+
build_helper = { path = "../build_helper" }
19+
gcc = "0.3.17"
20+
21+
[features]
22+
debug = []

src/liballoc_system/Cargo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "alloc_system"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "alloc_system"
8+
path = "lib.rs"
9+
test = false
10+
11+
[dependencies]
12+
core = { path = "../libcore" }
13+
libc = { path = "../rustc/libc_shim" }

src/libarena/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "arena"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "arena"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]

src/libcollections/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "collections"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "collections"
8+
path = "lib.rs"
9+
test = false
10+
11+
[dependencies]
12+
alloc = { path = "../liballoc" }
13+
core = { path = "../libcore" }
14+
rustc_unicode = { path = "../librustc_unicode" }

src/libcore/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "core"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "core"
8+
path = "lib.rs"
9+
test = false

src/libflate/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "flate"
4+
version = "0.0.0"
5+
build = "build.rs"
6+
7+
[lib]
8+
name = "flate"
9+
path = "lib.rs"
10+
crate-type = ["dylib"]
11+
12+
[build-dependencies]
13+
build_helper = { path = "../build_helper" }
14+
gcc = "0.3"

src/libfmt_macros/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "fmt_macros"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "fmt_macros"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]

src/libgetopts/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "getopts"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "getopts"
8+
path = "lib.rs"
9+
crate-type = ["dylib", "rlib"]

src/libgraphviz/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "graphviz"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "graphviz"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]

src/liblog/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "log"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "log"
8+
path = "lib.rs"
9+
crate-type = ["dylib", "rlib"]

src/librand/Cargo.toml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rand"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rand"
8+
path = "lib.rs"
9+
test = false
10+
11+
[dependencies]
12+
core = { path = "../libcore" }

src/librbml/Cargo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rbml"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rbml"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
serialize = { path = "../libserialize" }

src/librustc/Cargo.toml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
arena = { path = "../libarena" }
13+
flate = { path = "../libflate" }
14+
fmt_macros = { path = "../libfmt_macros" }
15+
getopts = { path = "../libgetopts" }
16+
graphviz = { path = "../libgraphviz" }
17+
log = { path = "../liblog" }
18+
rbml = { path = "../librbml" }
19+
rustc_back = { path = "../librustc_back" }
20+
rustc_data_structures = { path = "../librustc_data_structures" }
21+
rustc_front = { path = "../librustc_front" }
22+
rustc_llvm = { path = "../librustc_llvm" }
23+
serialize = { path = "../libserialize" }
24+
syntax = { path = "../libsyntax" }

src/librustc_back/Cargo.toml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_back"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_back"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
syntax = { path = "../libsyntax" }
13+
serialize = { path = "../libserialize" }
14+
rustc_llvm = { path = "../librustc_llvm" }
15+
rustc_front = { path = "../librustc_front" }
16+
log = { path = "../liblog" }
17+
18+
[features]
19+
jemalloc = []

src/librustc_bitflags/Cargo.toml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_bitflags"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_bitflags"
8+
path = "lib.rs"
9+
test = false
10+
11+
[dependencies]
12+
core = { path = "../libcore" }

src/librustc_borrowck/Cargo.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_borrowck"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_borrowck"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
syntax = { path = "../libsyntax" }
14+
graphviz = { path = "../libgraphviz" }
15+
rustc = { path = "../librustc" }
16+
rustc_front = { path = "../librustc_front" }
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_data_structures"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_data_structures"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
serialize = { path = "../libserialize" }

src/librustc_driver/Cargo.toml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_driver"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_driver"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
arena = { path = "../libarena" }
13+
flate = { path = "../libflate" }
14+
getopts = { path = "../libgetopts" }
15+
graphviz = { path = "../libgraphviz" }
16+
log = { path = "../liblog" }
17+
rustc = { path = "../librustc" }
18+
rustc_back = { path = "../librustc_back" }
19+
rustc_borrowck = { path = "../librustc_borrowck" }
20+
rustc_front = { path = "../librustc_front" }
21+
rustc_lint = { path = "../librustc_lint" }
22+
rustc_llvm = { path = "../librustc_llvm" }
23+
rustc_mir = { path = "../librustc_mir" }
24+
rustc_plugin = { path = "../librustc_plugin" }
25+
rustc_passes = { path = "../librustc_passes" }
26+
rustc_privacy = { path = "../librustc_privacy" }
27+
rustc_resolve = { path = "../librustc_resolve" }
28+
rustc_trans = { path = "../librustc_trans" }
29+
rustc_typeck = { path = "../librustc_typeck" }
30+
rustc_metadata = { path = "../librustc_metadata" }
31+
serialize = { path = "../libserialize" }
32+
syntax = { path = "../libsyntax" }
33+
syntax_ext = { path = "../libsyntax_ext" }

src/librustc_front/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_front"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_front"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
syntax = { path = "../libsyntax" }
14+
serialize = { path = "../libserialize" }

src/librustc_lint/Cargo.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_lint"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_lint"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
rustc = { path = "../librustc" }
14+
rustc_back = { path = "../librustc_back" }
15+
rustc_front = { path = "../librustc_front" }
16+
syntax = { path = "../libsyntax" }

src/librustc_llvm/Cargo.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_llvm"
4+
version = "0.0.0"
5+
build = "build.rs"
6+
7+
[lib]
8+
name = "rustc_llvm"
9+
path = "lib.rs"
10+
crate-type = ["dylib"]
11+
12+
[features]
13+
static-libstdcpp = []
14+
15+
[build-dependencies]
16+
build_helper = { path = "../build_helper" }
17+
gcc = "0.3"

src/librustc_metadata/Cargo.toml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_metadata"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_metadata"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
flate = { path = "../libflate" }
13+
log = { path = "../liblog" }
14+
rbml = { path = "../librbml" }
15+
rustc = { path = "../librustc" }
16+
rustc_back = { path = "../librustc_back" }
17+
rustc_front = { path = "../librustc_front" }
18+
rustc_llvm = { path = "../librustc_llvm" }
19+
serialize = { path = "../libserialize" }
20+
syntax = { path = "../libsyntax" }

src/librustc_mir/Cargo.toml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_mir"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_mir"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
graphviz = { path = "../libgraphviz" }
13+
log = { path = "../liblog" }
14+
rustc = { path = "../librustc" }
15+
rustc_back = { path = "../librustc_back" }
16+
rustc_data_structures = { path = "../librustc_data_structures" }
17+
rustc_front = { path = "../librustc_front" }
18+
syntax = { path = "../libsyntax" }

src/librustc_passes/Cargo.toml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_passes"
4+
version = "0.0.0"
5+
6+
[lib]
7+
name = "rustc_passes"
8+
path = "lib.rs"
9+
crate-type = ["dylib"]
10+
11+
[dependencies]
12+
log = { path = "../liblog" }
13+
rustc = { path = "../librustc" }
14+
rustc_front = { path = "../librustc_front" }
15+
syntax = { path = "../libsyntax" }

0 commit comments

Comments
 (0)