lint: Add exclusions for libmultiprocess subtree

Without this change linter produces errors about:

- Use of std::filesystem the libmultiprocess example program.
- Use of locale-dependent functions in example program, in the build time code
  generator, and in the runtime library for debug logging.
- Include guards not beginning with BITCOIN_
This commit is contained in:
Ryan Ofsky 2025-01-27 13:34:49 -05:00
parent e88ab394c1
commit 2d373e2707
3 changed files with 3 additions and 0 deletions

View file

@ -51,6 +51,7 @@ KNOWN_VIOLATIONS = [
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [
"src/crypto/ctaes/",
"src/ipc/libmultiprocess/",
"src/leveldb/",
"src/secp256k1/",
"src/minisketch/",

View file

@ -2,4 +2,5 @@ SHARED_EXCLUDED_SUBTREES = ["src/leveldb/",
"src/crc32c/",
"src/secp256k1/",
"src/minisketch/",
"src/ipc/libmultiprocess/",
]

View file

@ -361,6 +361,7 @@ fn lint_std_filesystem() -> LintResult {
"std::filesystem",
"--",
"./src/",
":(exclude)src/ipc/libmultiprocess/",
":(exclude)src/util/fs.h",
])
.status()