Skip to content

Commit 922b9d8

Browse files
[NFC] getopts is used by librustc and librustc_driver, but isn't declared in their Cargo.toml.
1 parent 1886d5f commit 922b9d8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/Cargo.lock

+2
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,7 @@ dependencies = [
18701870
"chalk-engine 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
18711871
"flate2 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
18721872
"fmt_macros 0.0.0",
1873+
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
18731874
"graphviz 0.0.0",
18741875
"jobserver 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
18751876
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2155,6 +2156,7 @@ version = "0.0.0"
21552156
dependencies = [
21562157
"arena 0.0.0",
21572158
"env_logger 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)",
2159+
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
21582160
"graphviz 0.0.0",
21592161
"log 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
21602162
"rustc 0.0.0",

src/librustc/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ byteorder = { version = "1.1", features = ["i128"]}
3434
chalk-engine = { version = "0.7.0", default-features=false }
3535
rustc_fs_util = { path = "../librustc_fs_util" }
3636
smallvec = { version = "0.6.5", features = ["union"] }
37+
getopts = "=0.2.17"
3738

3839
# Note that these dependencies are a lie, they're just here to get linkage to
3940
# work.

src/librustc_driver/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ log = "0.4"
1515
env_logger = { version = "0.5", default-features = false }
1616
rustc-rayon = "0.1.1"
1717
scoped-tls = { version = "0.1.1", features = ["nightly"] }
18+
getopts = "=0.2.17"
1819
rustc = { path = "../librustc" }
1920
rustc_allocator = { path = "../librustc_allocator" }
2021
rustc_target = { path = "../librustc_target" }

0 commit comments

Comments
 (0)