Skip to content

Commit f66f01e

Browse files
authored
Rollup merge of #54698 - DiamondLovesYou:getopts-deps, r=davidtwco
[NFC] `getopts` is used by `librustc` and `librustc_driver`, but isn't declared in their `Cargo.toml`.
2 parents 72aad24 + 922b9d8 commit f66f01e

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/Cargo.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,6 +1901,7 @@ dependencies = [
19011901
"chalk-engine 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
19021902
"flate2 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
19031903
"fmt_macros 0.0.0",
1904+
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
19041905
"graphviz 0.0.0",
19051906
"jobserver 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
19061907
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2186,6 +2187,7 @@ version = "0.0.0"
21862187
dependencies = [
21872188
"arena 0.0.0",
21882189
"env_logger 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)",
2190+
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
21892191
"graphviz 0.0.0",
21902192
"log 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
21912193
"rustc 0.0.0",

src/librustc/Cargo.toml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)