rusty_v8
rusty_v8 copied to clipboard
Introduce ASAN or Valgrind build to CI
Only needs to be linux. I haven't tried it, but apparently rust nightly supports ASAN https://github.com/japaric/rust-san
I looked into this today. One snag is that some tests (at the very least: take_heap_snapshot, heap_limits and clear_kept_objects) take a long time to complete when run under valgrind or asan/ubsan, possibly longer than Actions allows.
Probably we should use asan instead of valgrind (due to slowness) https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html