From 78a9532e2e86b3fc1da561763c542c8984a65709 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 28 Oct 2024 15:28:59 -0500 Subject: [PATCH] Improve Wasmtime's coverage reports (#12661) Try adding a few ignores for dependencies that we're not interested in to help improve the quality of the coverage reports coming out of fuzzing for Wasmtime. --- projects/wasmtime/project.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/wasmtime/project.yaml b/projects/wasmtime/project.yaml index a69606088..12937698c 100644 --- a/projects/wasmtime/project.yaml +++ b/projects/wasmtime/project.yaml @@ -14,3 +14,10 @@ fuzzing_engines: - libfuzzer language: rust main_repo: 'https://github.com/bytecodealliance/wasmtime' + +# Ignore some ocaml files that show up, dependencies on crates.io, and the +# standard library itself. +coverage_extra_args: > + -ignore-filename-regex=.*/root/.opam/.* + -ignore-filename-regex=.*/registry/src/.*crates.io/.* + -ignore-filename-regex=.*/rustc/.*