Skip to content

Commit 65fd930

Browse files
committed
Add exclusion rule for aho-corasick problematic trait
1 parent d4a07c4 commit 65fd930

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

leafc_config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@ override_sysroot = true
77
crate_name = "leaf"
88
search_path = "sysroot"
99

10+
# The problematic recursive implementation in aho_corasick. More info: BurntSushi/aho-corasick#149
11+
[[instr_rules.exclude]]
12+
entity = "dyn_def"
13+
all = [
14+
{ crate = { name = "aho_corasick" } },
15+
{ def_path = '<&.* as .*Automaton>::\w+' },
16+
]
17+
1018
[internalization_rules]
1119
exclude = ["LLVMFuzzerInitialize"]

0 commit comments

Comments
 (0)