2015-11-20 00:20:12 +01:00
|
|
|
[package]
|
|
|
|
authors = ["The Rust Project Developers"]
|
|
|
|
name = "bootstrap"
|
|
|
|
version = "0.0.0"
|
2018-12-07 13:21:05 +01:00
|
|
|
edition = "2018"
|
2020-09-07 01:57:07 +02:00
|
|
|
build = "build.rs"
|
2015-11-20 00:20:12 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
path = "lib.rs"
|
2016-12-31 04:50:57 +01:00
|
|
|
doctest = false
|
2015-11-20 00:20:12 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "bootstrap"
|
2016-07-06 06:58:20 +02:00
|
|
|
path = "bin/main.rs"
|
2016-12-31 04:50:57 +01:00
|
|
|
test = false
|
2015-11-20 00:20:12 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rustc"
|
2016-07-06 06:58:20 +02:00
|
|
|
path = "bin/rustc.rs"
|
2016-12-31 04:50:57 +01:00
|
|
|
test = false
|
2015-11-20 00:20:12 +01:00
|
|
|
|
2016-03-08 08:11:05 +01:00
|
|
|
[[bin]]
|
|
|
|
name = "rustdoc"
|
2016-07-06 06:58:20 +02:00
|
|
|
path = "bin/rustdoc.rs"
|
2016-12-31 04:50:57 +01:00
|
|
|
test = false
|
2016-03-08 08:11:05 +01:00
|
|
|
|
2017-02-25 18:53:46 +01:00
|
|
|
[[bin]]
|
|
|
|
name = "sccache-plus-cl"
|
|
|
|
path = "bin/sccache-plus-cl.rs"
|
|
|
|
test = false
|
|
|
|
|
2018-04-24 17:34:14 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "llvm-config-wrapper"
|
|
|
|
path = "bin/llvm-config-wrapper.rs"
|
|
|
|
test = false
|
|
|
|
|
2015-11-20 00:20:12 +01:00
|
|
|
[dependencies]
|
|
|
|
build_helper = { path = "../build_helper" }
|
2019-04-06 10:37:00 +02:00
|
|
|
cmake = "0.1.38"
|
2018-07-06 22:52:40 +02:00
|
|
|
filetime = "0.2"
|
2017-04-26 05:20:09 +02:00
|
|
|
num_cpus = "1.0"
|
2019-05-02 11:32:56 +02:00
|
|
|
getopts = "0.2.19"
|
2019-04-06 10:37:00 +02:00
|
|
|
cc = "1.0.35"
|
2015-11-20 00:20:12 +01:00
|
|
|
libc = "0.2"
|
2019-05-09 18:03:13 +02:00
|
|
|
serde = { version = "1.0.8", features = ["derive"] }
|
2017-07-04 18:03:01 +02:00
|
|
|
serde_json = "1.0.2"
|
2019-08-20 19:46:35 +02:00
|
|
|
toml = "0.5"
|
2019-05-09 18:03:13 +02:00
|
|
|
lazy_static = "1.3.0"
|
2018-02-05 09:39:54 +01:00
|
|
|
time = "0.1"
|
2019-12-18 16:52:10 +01:00
|
|
|
ignore = "0.4.10"
|
2020-05-22 04:48:44 +02:00
|
|
|
opener = "0.4"
|
2020-09-12 06:42:52 +02:00
|
|
|
merge = "0.1.0"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 15:03:06 +01:00
|
|
|
|
2020-01-04 22:46:47 +01:00
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
|
|
version = "0.3"
|
2021-03-04 10:43:24 +01:00
|
|
|
features = ["fileapi", "ioapiset", "jobapi2", "handleapi", "winioctl", "psapi", "impl-default"]
|
2020-01-04 22:46:47 +01:00
|
|
|
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 15:03:06 +01:00
|
|
|
[dev-dependencies]
|
2020-03-26 14:10:35 +01:00
|
|
|
pretty_assertions = "0.6"
|