Skip to content

Commit 59ac6fe

Browse files
committed
Revert "Remove custom valgrind suppressions"
This reverts commit ad96472. cargo-valgrind ships outdated suppressions [1], and it looks like the situation won't improve anytime soon, so bring custom suppressions back. [1]: jfrimmel/cargo-valgrind#126
1 parent e40f220 commit 59ac6fe

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ jobs:
366366
valgrind:
367367
timeout-minutes: 5
368368
runs-on: ubuntu-latest
369+
env:
370+
VALGRINDFLAGS: --suppressions=valgrind.supp
369371
if: success() || failure()
370372
steps:
371373
- name: Checkout

valgrind.supp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
<std_thread_current>
3+
Memcheck:Leak
4+
match-leak-kinds: possible
5+
fun:malloc
6+
...
7+
fun:_ZN3std6thread6Thread3new*
8+
fun:_ZN3std6thread7current12init_current*
9+
}

0 commit comments

Comments
 (0)