Skip to content

Commit

Permalink
Merge pull request #168 from Alexhuszagh/valgrind
Browse files Browse the repository at this point in the history
Use an older nightly toolchain to fix spurious memleak issues.
  • Loading branch information
Alexhuszagh authored Oct 4, 2024
2 parents 5165ad7 + 134335d commit 4176535
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/Valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ jobs:
- name: Install latest nightly
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
# NOTE: For whatever reason, there's a memory leak for recent
# versions if we don't FULLY qualify the toolchain version.
# This seems to have happened between 2024-09-27 and 2024-10-03.
# But, since it requires an unqualified nightly name, it's
# impossible to bisect.
toolchain: nightly-2024-09-27
- run: sudo apt-get update
- run: sudo apt-get install valgrind
- run: cargo +nightly install cargo-valgrind
- run: cargo +nightly valgrind test --release
- run: cargo +nightly valgrind test --all-features --release
- run: cargo +nightly-2024-09-27 install cargo-valgrind
- run: cargo +nightly-2024-09-27 valgrind test --release
- run: cargo +nightly-2024-09-27 valgrind test --all-features --release

0 comments on commit 4176535

Please # to comment.