Skip to content

Commit 8191d6c

Browse files
committed
Add cargo-deny config.
This was excluded by mistake in bytecodealliance#1; without a configuration, cargo-deny runs with a default one, and rejects a lot of things (largely due to open-source-but-not-allowlisted licenses). This `deny.toml` comes from the regalloc.rs repo. It results in one warning currently that will be resolved once bytecodealliance#7 is.
1 parent 57ccaef commit 8191d6c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

deny.toml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
targets = [
2+
{ triple = "x86_64-unknown-linux-gnu" },
3+
{ triple = "x86_64-apple-darwin" },
4+
{ triple = "x86_64-pc-windows-msvc" },
5+
{ triple = "aarch64-linux-android" },
6+
]
7+
8+
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
9+
[advisories]
10+
vulnerability = "deny"
11+
unmaintained = "deny"
12+
yanked = "deny"
13+
ignore = [
14+
]
15+
16+
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
17+
[licenses]
18+
allow = [
19+
"Apache-2.0 WITH LLVM-exception",
20+
"Apache-2.0",
21+
"MIT",
22+
]
23+
24+
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
25+
[bans]
26+
multiple-versions = "deny"
27+
wildcards = "allow"
28+
deny = []

0 commit comments

Comments
 (0)