Skip to content

Commit 9dc4ed8

Browse files
committed
Update list of allowed dependencies
Cranelift started depending on a couple of new crates
1 parent 7a3ed23 commit 9dc4ed8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/tools/tidy/src/deps.rs

+11-3
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ const EXCEPTIONS_CRANELIFT: &[(&str, &str)] = &[
5555
("cranelift-codegen-shared", "Apache-2.0 WITH LLVM-exception"),
5656
("cranelift-entity", "Apache-2.0 WITH LLVM-exception"),
5757
("cranelift-frontend", "Apache-2.0 WITH LLVM-exception"),
58+
("cranelift-isle", "Apache-2.0 WITH LLVM-exception"),
5859
("cranelift-jit", "Apache-2.0 WITH LLVM-exception"),
5960
("cranelift-module", "Apache-2.0 WITH LLVM-exception"),
6061
("cranelift-native", "Apache-2.0 WITH LLVM-exception"),
6162
("cranelift-object", "Apache-2.0 WITH LLVM-exception"),
6263
("mach", "BSD-2-Clause"),
63-
("regalloc", "Apache-2.0 WITH LLVM-exception"),
64+
("regalloc2", "Apache-2.0 WITH LLVM-exception"),
6465
("target-lexicon", "Apache-2.0 WITH LLVM-exception"),
6566
];
6667

@@ -258,22 +259,27 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
258259
];
259260

260261
const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
262+
"ahash",
261263
"anyhow",
262264
"ar",
263265
"autocfg",
264266
"bitflags",
267+
"byteorder",
265268
"cfg-if",
266269
"cranelift-bforest",
267270
"cranelift-codegen",
268271
"cranelift-codegen-meta",
269272
"cranelift-codegen-shared",
270273
"cranelift-entity",
271274
"cranelift-frontend",
275+
"cranelift-isle",
272276
"cranelift-jit",
273277
"cranelift-module",
274278
"cranelift-native",
275279
"cranelift-object",
276280
"crc32fast",
281+
"fxhash",
282+
"getrandom",
277283
"gimli",
278284
"hashbrown",
279285
"indexmap",
@@ -284,11 +290,13 @@ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
284290
"memchr",
285291
"object",
286292
"once_cell",
287-
"regalloc",
293+
"regalloc2",
288294
"region",
289-
"rustc-hash",
295+
"slice-group-by",
290296
"smallvec",
291297
"target-lexicon",
298+
"version_check",
299+
"wasi",
292300
"winapi",
293301
"winapi-i686-pc-windows-gnu",
294302
"winapi-x86_64-pc-windows-gnu",

0 commit comments

Comments
 (0)