There is no need to call RUSTFLAGS="-Z sanitizer=*" cargo test under coreaudio-sys-utils in run_sanitizers.sh directly since running RUSTFLAGS="-Z sanitizer=address" sh run_tests.sh under the main run those tests indirectly. The tests in the sub crate will run in run_tests.sh.
On the other hand, the run_tests.sh should use cargo * -p <SUB_CRATE> if it's possible. By doing so, the compiling for <SUB_CRATE> can be reused when building for the main crate. It will save plenty of compiling time, especially when compiling the main crate for the sanitizers.
There is no need to call
RUSTFLAGS="-Z sanitizer=*" cargo test
under coreaudio-sys-utils in run_sanitizers.sh directly since runningRUSTFLAGS="-Z sanitizer=address" sh run_tests.sh
under the main run those tests indirectly. The tests in the sub crate will run in run_tests.sh.On the other hand, the run_tests.sh should use
cargo * -p <SUB_CRATE>
if it's possible. By doing so, the compiling for<SUB_CRATE>
can be reused when building for the main crate. It will save plenty of compiling time, especially when compiling the main crate for the sanitizers.