Skip to content

Commit dfff02d

Browse files
authored
Unrolled build for #146001
Rollup merge of #146001 - bjorn3:update_getopts, r=davidtwco Update getopts to remove unicode-width dependency Pulls in rust-lang/getopts#133. This saves 1.5MB on the vendored size of the standard library.
2 parents 364da5d + b0897f3 commit dfff02d

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81"
674674
dependencies = [
675675
"serde",
676676
"termcolor",
677-
"unicode-width 0.2.1",
677+
"unicode-width 0.1.14",
678678
]
679679

680680
[[package]]
@@ -1458,9 +1458,9 @@ dependencies = [
14581458

14591459
[[package]]
14601460
name = "getopts"
1461-
version = "0.2.23"
1461+
version = "0.2.24"
14621462
source = "registry+https://github.com/rust-lang/crates.io-index"
1463-
checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1"
1463+
checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
14641464
dependencies = [
14651465
"unicode-width 0.2.1",
14661466
]

library/Cargo.lock

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ dependencies = [
9999

100100
[[package]]
101101
name = "getopts"
102-
version = "0.2.23"
102+
version = "0.2.24"
103103
source = "registry+https://github.com/rust-lang/crates.io-index"
104-
checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1"
104+
checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
105105
dependencies = [
106106
"rustc-std-workspace-core",
107107
"rustc-std-workspace-std",
108-
"unicode-width",
109108
]
110109

111110
[[package]]
@@ -361,16 +360,6 @@ dependencies = [
361360
"std",
362361
]
363362

364-
[[package]]
365-
name = "unicode-width"
366-
version = "0.2.1"
367-
source = "registry+https://github.com/rust-lang/crates.io-index"
368-
checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
369-
dependencies = [
370-
"rustc-std-workspace-core",
371-
"rustc-std-workspace-std",
372-
]
373-
374363
[[package]]
375364
name = "unwind"
376365
version = "0.0.0"

library/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.0.0"
66
edition = "2024"
77

88
[dependencies]
9-
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
9+
getopts = { version = "0.2.24", default-features = false, features = ['rustc-dep-of-std'] }
1010
std = { path = "../std", public = true }
1111
core = { path = "../core", public = true }
1212

src/tools/tidy/src/deps.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,6 @@ const PERMITTED_STDLIB_DEPENDENCIES: &[&str] = &[
477477
"rustc-demangle",
478478
"rustc-literal-escaper",
479479
"shlex",
480-
"unicode-width",
481480
"unwinding",
482481
"wasi",
483482
"windows-sys",

0 commit comments

Comments
 (0)