Skip to content

Commit c37c6d2

Browse files
committed
Use IndexSet from indexmap::IndexSet and revert bootstrap changes
1 parent 9a9c0ba commit c37c6d2

4 files changed

Lines changed: 3 additions & 73 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4892,9 +4892,9 @@ dependencies = [
48924892
name = "rustc_type_ir_macros"
48934893
version = "0.0.0"
48944894
dependencies = [
4895+
"indexmap",
48954896
"proc-macro2",
48964897
"quote",
4897-
"rustc_data_structures",
48984898
"syn",
48994899
"synstructure",
49004900
]

compiler/rustc_type_ir_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ nightly = []
1111

1212
[dependencies]
1313
# tidy-alphabetical-start
14+
indexmap = "2.4.0"
1415
proc-macro2 = "1"
1516
quote = "1"
16-
rustc_data_structures = { path = "../rustc_data_structures" }
1717
syn = { version = "2.0.9", features = ["full", "visit-mut"] }
1818
synstructure = "0.13.0"
1919
# tidy-alphabetical-end

compiler/rustc_type_ir_macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
use indexmap::IndexSet;
12
use quote::{ToTokens, quote};
2-
use rustc_data_structures::indexmap::IndexSet;
33
use syn::visit_mut::VisitMut;
44
use syn::{Attribute, parse_quote};
55
use synstructure::decl_derive;

src/bootstrap/src/utils/proc_macro_deps.rs

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,26 @@ pub static CRATES: &[&str] = &[
55
// tidy-alphabetical-start
66
"allocator-api2",
77
"anyhow",
8-
"arrayvec",
98
"askama_derive",
109
"askama_parser",
1110
"basic-toml",
1211
"bitflags",
1312
"block-buffer",
1413
"bumpalo",
15-
"cc",
1614
"cfg-if",
1715
"cpufeatures",
18-
"crossbeam-deque",
19-
"crossbeam-epoch",
20-
"crossbeam-utils",
2116
"crypto-common",
2217
"darling",
2318
"darling_core",
2419
"derive_builder_core",
2520
"digest",
26-
"either",
27-
"elsa",
28-
"ena",
2921
"equivalent",
30-
"errno",
31-
"fastrand",
3222
"fluent-bundle",
3323
"fluent-langneg",
3424
"fluent-syntax",
3525
"fnv",
3626
"foldhash",
3727
"generic-array",
38-
"getrandom",
3928
"glob",
4029
"hashbrown",
4130
"heck",
@@ -45,70 +34,34 @@ pub static CRATES: &[&str] = &[
4534
"intl-memoizer",
4635
"intl_pluralrules",
4736
"itoa",
48-
"jobserver",
4937
"leb128fmt",
5038
"libc",
51-
"linux-raw-sys",
52-
"lock_api",
5339
"log",
54-
"measureme",
5540
"memchr",
56-
"memmap2",
5741
"minimal-lexical",
5842
"nom",
59-
"once_cell",
60-
"parking_lot",
61-
"parking_lot_core",
62-
"perf-event-open-sys",
6343
"pest",
6444
"pest_generator",
6545
"pest_meta",
66-
"pin-project-lite",
67-
"portable-atomic",
68-
"ppv-lite86",
6946
"prettyplease",
7047
"proc-macro2",
71-
"psm",
7248
"quote",
73-
"r-efi",
74-
"rand",
75-
"rand_chacha",
76-
"rand_core",
77-
"rand_xorshift",
78-
"redox_syscall",
7949
"rustc-hash",
80-
"rustc-stable-hash",
81-
"rustc_arena",
82-
"rustc_data_structures",
83-
"rustc_graphviz",
84-
"rustc_hashes",
85-
"rustc_index",
86-
"rustc_serialize",
87-
"rustc_thread_pool",
88-
"rustix",
8950
"ryu",
90-
"scoped-tls",
91-
"scopeguard",
9251
"self_cell",
9352
"semver",
9453
"serde",
9554
"serde_core",
9655
"serde_derive_internals",
9756
"serde_json",
9857
"sha2",
99-
"shlex",
10058
"smallvec",
10159
"stable_deref_trait",
102-
"stacker",
10360
"strsim",
10461
"syn",
10562
"synstructure",
106-
"tempfile",
107-
"thin-vec",
10863
"thiserror",
10964
"tinystr",
110-
"tracing",
111-
"tracing-core",
11265
"type-map",
11366
"typenum",
11467
"ucd-trie",
@@ -117,41 +70,18 @@ pub static CRATES: &[&str] = &[
11770
"unic-langid-macros",
11871
"unicode-ident",
11972
"unicode-xid",
120-
"valuable",
12173
"version_check",
122-
"wasi",
12374
"wasm-bindgen-macro-support",
12475
"wasm-bindgen-shared",
12576
"wasm-encoder",
12677
"wasm-metadata",
12778
"wasmparser",
128-
"windows",
129-
"windows-collections",
130-
"windows-core",
131-
"windows-future",
132-
"windows-link",
133-
"windows-numerics",
134-
"windows-result",
135-
"windows-strings",
136-
"windows-sys",
137-
"windows-targets",
138-
"windows-threading",
139-
"windows_aarch64_gnullvm",
140-
"windows_aarch64_msvc",
141-
"windows_i686_gnu",
142-
"windows_i686_gnullvm",
143-
"windows_i686_msvc",
144-
"windows_x86_64_gnu",
145-
"windows_x86_64_gnullvm",
146-
"windows_x86_64_msvc",
14779
"winnow",
14880
"wit-bindgen-core",
149-
"wit-bindgen-rt",
15081
"wit-bindgen-rust",
15182
"wit-component",
15283
"wit-parser",
15384
"yoke",
154-
"zerocopy",
15585
"zerofrom",
15686
"zerovec",
15787
// tidy-alphabetical-end

0 commit comments

Comments
 (0)