Skip to content

Commit 7c40661

Browse files
committed
Update smallvec to 1.8.1.
This pulls in servo/rust-smallvec#282, which gives some small wins for rustc.
1 parent 788dded commit 7c40661

File tree

32 files changed

+34
-34
lines changed

32 files changed

+34
-34
lines changed

Diff for: Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -4906,9 +4906,9 @@ checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
49064906

49074907
[[package]]
49084908
name = "smallvec"
4909-
version = "1.7.0"
4909+
version = "1.8.1"
49104910
source = "registry+https://github.com/rust-lang/crates.io-index"
4911-
checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309"
4911+
checksum = "cc88c725d61fc6c3132893370cac4a0200e3fedf5da8331c570664b1987f5ca2"
49124912

49134913
[[package]]
49144914
name = "snap"

Diff for: compiler/rustc_apfloat/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55

66
[dependencies]
77
bitflags = "1.2.1"
8-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
8+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_arena/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ version = "0.0.0"
44
edition = "2021"
55

66
[dependencies]
7-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
7+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_ast/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ rustc_data_structures = { path = "../rustc_data_structures" }
1414
rustc_index = { path = "../rustc_index" }
1515
rustc_lexer = { path = "../rustc_lexer" }
1616
rustc_macros = { path = "../rustc_macros" }
17-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
17+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1818
bitflags = "1.2.1"

Diff for: compiler/rustc_ast_lowering/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ rustc_span = { path = "../rustc_span" }
2020
rustc_errors = { path = "../rustc_errors" }
2121
rustc_session = { path = "../rustc_session" }
2222
rustc_ast = { path = "../rustc_ast" }
23-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
23+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_borrowck/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ either = "1.5.0"
1111
itertools = "0.10.1"
1212
tracing = "0.1"
1313
polonius-engine = "0.13.0"
14-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
14+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1515
rustc_data_structures = { path = "../rustc_data_structures" }
1616
rustc_errors = { path = "../rustc_errors" }
1717
rustc_graphviz = { path = "../rustc_graphviz" }

Diff for: compiler/rustc_builtin_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ rustc_macros = { path = "../rustc_macros" }
2020
rustc_parse = { path = "../rustc_parse" }
2121
rustc_target = { path = "../rustc_target" }
2222
rustc_session = { path = "../rustc_session" }
23-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
23+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2424
rustc_ast = { path = "../rustc_ast" }
2525
rustc_expand = { path = "../rustc_expand" }
2626
rustc_span = { path = "../rustc_span" }

Diff for: compiler/rustc_codegen_cranelift/Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ dependencies = [
285285

286286
[[package]]
287287
name = "smallvec"
288-
version = "1.8.0"
288+
version = "1.8.1"
289289
source = "registry+https://github.com/rust-lang/crates.io-index"
290-
checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
290+
checksum = "cc88c725d61fc6c3132893370cac4a0200e3fedf5da8331c570664b1987f5ca2"
291291

292292
[[package]]
293293
name = "target-lexicon"

Diff for: compiler/rustc_codegen_cranelift/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg
2222
indexmap = "1.8.0"
2323
libloading = { version = "0.6.0", optional = true }
2424
once_cell = "1.10.0"
25-
smallvec = "1.6.1"
25+
smallvec = "1.8.1"
2626

2727
[patch.crates-io]
2828
# Uncomment to use local checkout of cranelift

Diff for: compiler/rustc_codegen_llvm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ rustc_query_system = { path = "../rustc_query_system" }
3131
rustc_session = { path = "../rustc_session" }
3232
rustc_serialize = { path = "../rustc_serialize" }
3333
rustc_target = { path = "../rustc_target" }
34-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
34+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
3535
rustc_ast = { path = "../rustc_ast" }
3636
rustc_span = { path = "../rustc_span" }

Diff for: compiler/rustc_codegen_ssa/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ thorin-dwp = "0.2"
1818
pathdiff = "0.2.0"
1919
serde_json = "1.0.59"
2020
snap = "1"
21-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
21+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2222
regex = "1.4"
2323

2424
rustc_serialize = { path = "../rustc_serialize" }

Diff for: compiler/rustc_data_structures/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ stable_deref_trait = "1.0.0"
2020
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
2121
rayon-core = { version = "0.4.0", package = "rustc-rayon-core", optional = true }
2222
rustc-hash = "1.1.0"
23-
smallvec = { version = "1.6.1", features = ["const_generics", "union", "may_dangle"] }
23+
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
2424
rustc_index = { path = "../rustc_index", package = "rustc_index" }
2525
bitflags = "1.2.1"
2626
measureme = "10.0.0"

Diff for: compiler/rustc_expand/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ rustc_macros = { path = "../rustc_macros" }
2222
rustc_lexer = { path = "../rustc_lexer" }
2323
rustc_parse = { path = "../rustc_parse" }
2424
rustc_session = { path = "../rustc_session" }
25-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
25+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2626
rustc_ast = { path = "../rustc_ast" }

Diff for: compiler/rustc_hir/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ rustc_span = { path = "../rustc_span" }
1616
rustc_serialize = { path = "../rustc_serialize" }
1717
rustc_ast = { path = "../rustc_ast" }
1818
tracing = "0.1"
19-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
19+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2020
odht = { version = "0.3.1", features = ["nightly"] }

Diff for: compiler/rustc_index/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ doctest = false
1010
arrayvec = { version = "0.7", default-features = false }
1111
rustc_serialize = { path = "../rustc_serialize" }
1212
rustc_macros = { path = "../rustc_macros" }
13-
smallvec = "1"
13+
smallvec = "1.8.1"

Diff for: compiler/rustc_infer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ rustc_macros = { path = "../rustc_macros" }
1717
rustc_serialize = { path = "../rustc_serialize" }
1818
rustc_span = { path = "../rustc_span" }
1919
rustc_target = { path = "../rustc_target" }
20-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
20+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_interface/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ libloading = "0.7.1"
1111
tracing = "0.1"
1212
rustc-rayon-core = { version = "0.4.0", optional = true }
1313
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
14-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
14+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1515
rustc_ast = { path = "../rustc_ast" }
1616
rustc_attr = { path = "../rustc_attr" }
1717
rustc_borrowck = { path = "../rustc_borrowck" }

Diff for: compiler/rustc_metadata/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ libloading = "0.7.1"
1111
odht = { version = "0.3.1", features = ["nightly"] }
1212
snap = "1"
1313
tracing = "0.1"
14-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
14+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1515
rustc_middle = { path = "../rustc_middle" }
1616
rustc_attr = { path = "../rustc_attr" }
1717
rustc_data_structures = { path = "../rustc_data_structures" }

Diff for: compiler/rustc_middle/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rustc_serialize = { path = "../rustc_serialize" }
3030
rustc_ast = { path = "../rustc_ast" }
3131
rustc_span = { path = "../rustc_span" }
3232
chalk-ir = "0.80.0"
33-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
33+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
3434
rustc_session = { path = "../rustc_session" }
3535
rustc_type_ir = { path = "../rustc_type_ir" }
3636
rand = "0.8.4"

Diff for: compiler/rustc_mir_build/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ rustc_span = { path = "../rustc_span" }
2323
rustc_target = { path = "../rustc_target" }
2424
rustc_trait_selection = { path = "../rustc_trait_selection" }
2525
rustc_ast = { path = "../rustc_ast" }
26-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
26+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_mir_dataflow/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ doctest = false
99
[dependencies]
1010
polonius-engine = "0.13.0"
1111
regex = "1"
12-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
12+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1313
tracing = "0.1"
1414
rustc_ast = { path = "../rustc_ast" }
1515
rustc_data_structures = { path = "../rustc_data_structures" }

Diff for: compiler/rustc_mir_transform/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ doctest = false
88

99
[dependencies]
1010
itertools = "0.10.1"
11-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
11+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1212
tracing = "0.1"
1313
rustc_ast = { path = "../rustc_ast" }
1414
rustc_attr = { path = "../rustc_attr" }

Diff for: compiler/rustc_monomorphize/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
doctest = false
88

99
[dependencies]
10-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
10+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1111
tracing = "0.1"
1212
rustc_data_structures = { path = "../rustc_data_structures" }
1313
rustc_hir = { path = "../rustc_hir" }

Diff for: compiler/rustc_query_system/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rustc_session = { path = "../rustc_session" }
2222
rustc_span = { path = "../rustc_span" }
2323
rustc_target = { path = "../rustc_target" }
2424
parking_lot = "0.11"
25-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
25+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2626

2727
[features]
2828
rustc_use_parallel_compiler = ["rustc-rayon-core"]

Diff for: compiler/rustc_resolve/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ rustc_metadata = { path = "../rustc_metadata" }
2424
rustc_query_system = { path = "../rustc_query_system" }
2525
rustc_session = { path = "../rustc_session" }
2626
rustc_span = { path = "../rustc_span" }
27-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
27+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_serialize/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
indexmap = "1.8.0"
8-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
8+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
99

1010
[dev-dependencies]
1111
rustc_macros = { path = "../rustc_macros" }

Diff for: compiler/rustc_trait_selection/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ rustc_query_system = { path = "../rustc_query_system" }
2323
rustc_session = { path = "../rustc_session" }
2424
rustc_span = { path = "../rustc_span" }
2525
rustc_target = { path = "../rustc_target" }
26-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
26+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_traits/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ rustc_span = { path = "../rustc_span" }
1515
chalk-ir = "0.80.0"
1616
chalk-engine = "0.80.0"
1717
chalk-solve = "0.80.0"
18-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
18+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1919
rustc_infer = { path = "../rustc_infer" }
2020
rustc_trait_selection = { path = "../rustc_trait_selection" }

Diff for: compiler/rustc_type_ir/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ rustc_index = { path = "../rustc_index" }
1212
rustc_serialize = { path = "../rustc_serialize" }
1313
rustc_data_structures = { path = "../rustc_data_structures" }
1414
rustc_macros = { path = "../rustc_macros" }
15-
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
15+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }

Diff for: compiler/rustc_typeck/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ rustc_hir = { path = "../rustc_hir" }
2020
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
2121
rustc_target = { path = "../rustc_target" }
2222
rustc_session = { path = "../rustc_session" }
23-
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
23+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2424
rustc_ast = { path = "../rustc_ast" }
2525
rustc_span = { path = "../rustc_span" }
2626
rustc_index = { path = "../rustc_index" }

Diff for: src/librustdoc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pulldown-cmark = { version = "0.9", default-features = false }
1414
minifier = "0.2.1"
1515
serde = { version = "1.0", features = ["derive"] }
1616
serde_json = "1.0"
17-
smallvec = "1.6.1"
17+
smallvec = "1.8.1"
1818
tempfile = "3"
1919
itertools = "0.10.1"
2020
regex = "1"

Diff for: src/tools/rustc-workspace-hack/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ quote = { version = "1", features = ["default"] }
8484
rand_core_0_5 = { package = "rand_core", version = "0.5.1", features = ["getrandom", "alloc", "std"] }
8585
serde = { version = "1.0.82", features = ['derive'] }
8686
serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
87-
smallvec = { version = "1.6.1", features = ['union', 'may_dangle'] }
87+
smallvec = { version = "1.8.1", features = ['union', 'may_dangle'] }
8888
syn = { version = "1", features = ['fold', 'full', 'extra-traits', 'visit', 'visit-mut'] }
8989
url = { version = "2.0", features = ['serde'] }
9090

0 commit comments

Comments
 (0)