1
Fork 0

Update list of allowed dependencies

Cranelift started depending on a couple of new crates
This commit is contained in:
bjorn3 2022-07-25 17:08:20 +02:00
parent 7a3ed235eb
commit 9dc4ed8d90

View file

@ -55,12 +55,13 @@ const EXCEPTIONS_CRANELIFT: &[(&str, &str)] = &[
("cranelift-codegen-shared", "Apache-2.0 WITH LLVM-exception"), ("cranelift-codegen-shared", "Apache-2.0 WITH LLVM-exception"),
("cranelift-entity", "Apache-2.0 WITH LLVM-exception"), ("cranelift-entity", "Apache-2.0 WITH LLVM-exception"),
("cranelift-frontend", "Apache-2.0 WITH LLVM-exception"), ("cranelift-frontend", "Apache-2.0 WITH LLVM-exception"),
("cranelift-isle", "Apache-2.0 WITH LLVM-exception"),
("cranelift-jit", "Apache-2.0 WITH LLVM-exception"), ("cranelift-jit", "Apache-2.0 WITH LLVM-exception"),
("cranelift-module", "Apache-2.0 WITH LLVM-exception"), ("cranelift-module", "Apache-2.0 WITH LLVM-exception"),
("cranelift-native", "Apache-2.0 WITH LLVM-exception"), ("cranelift-native", "Apache-2.0 WITH LLVM-exception"),
("cranelift-object", "Apache-2.0 WITH LLVM-exception"), ("cranelift-object", "Apache-2.0 WITH LLVM-exception"),
("mach", "BSD-2-Clause"), ("mach", "BSD-2-Clause"),
("regalloc", "Apache-2.0 WITH LLVM-exception"), ("regalloc2", "Apache-2.0 WITH LLVM-exception"),
("target-lexicon", "Apache-2.0 WITH LLVM-exception"), ("target-lexicon", "Apache-2.0 WITH LLVM-exception"),
]; ];
@ -258,10 +259,12 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
]; ];
const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
"ahash",
"anyhow", "anyhow",
"ar", "ar",
"autocfg", "autocfg",
"bitflags", "bitflags",
"byteorder",
"cfg-if", "cfg-if",
"cranelift-bforest", "cranelift-bforest",
"cranelift-codegen", "cranelift-codegen",
@ -269,11 +272,14 @@ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
"cranelift-codegen-shared", "cranelift-codegen-shared",
"cranelift-entity", "cranelift-entity",
"cranelift-frontend", "cranelift-frontend",
"cranelift-isle",
"cranelift-jit", "cranelift-jit",
"cranelift-module", "cranelift-module",
"cranelift-native", "cranelift-native",
"cranelift-object", "cranelift-object",
"crc32fast", "crc32fast",
"fxhash",
"getrandom",
"gimli", "gimli",
"hashbrown", "hashbrown",
"indexmap", "indexmap",
@ -284,11 +290,13 @@ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
"memchr", "memchr",
"object", "object",
"once_cell", "once_cell",
"regalloc", "regalloc2",
"region", "region",
"rustc-hash", "slice-group-by",
"smallvec", "smallvec",
"target-lexicon", "target-lexicon",
"version_check",
"wasi",
"winapi", "winapi",
"winapi-i686-pc-windows-gnu", "winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu",