This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
trixy/example/main/valgrind_test.sh

13 lines
273 B
Bash
Raw Normal View History

#! /usr/bin/env sh
make
cargo build
valgrind --leak-check=full \
--show-leak-kinds=all \
--show-error-list=yes \
--track-origins=yes \
--log-file=./target/valgrind_out.txt \
./target/debug/main ./target/c_build/plugin.so
cat ./target/valgrind_out.txt