Skip to content

Commit 4176535

Browse files
authored
Merge pull request #168 from Alexhuszagh/valgrind
Use an older nightly toolchain to fix spurious memleak issues.
2 parents 5165ad7 + 134335d commit 4176535

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/Valgrind.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ jobs:
1414
- name: Install latest nightly
1515
uses: dtolnay/rust-toolchain@stable
1616
with:
17-
toolchain: nightly
17+
# NOTE: For whatever reason, there's a memory leak for recent
18+
# versions if we don't FULLY qualify the toolchain version.
19+
# This seems to have happened between 2024-09-27 and 2024-10-03.
20+
# But, since it requires an unqualified nightly name, it's
21+
# impossible to bisect.
22+
toolchain: nightly-2024-09-27
1823
- run: sudo apt-get update
1924
- run: sudo apt-get install valgrind
20-
- run: cargo +nightly install cargo-valgrind
21-
- run: cargo +nightly valgrind test --release
22-
- run: cargo +nightly valgrind test --all-features --release
25+
- run: cargo +nightly-2024-09-27 install cargo-valgrind
26+
- run: cargo +nightly-2024-09-27 valgrind test --release
27+
- run: cargo +nightly-2024-09-27 valgrind test --all-features --release

0 commit comments

Comments
 (0)