rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Introduce ASAN or Valgrind build to CI

Open ry opened this issue 5 years ago • 2 comments

Only needs to be linux. I haven't tried it, but apparently rust nightly supports ASAN https://github.com/japaric/rust-san

ry avatar Feb 26 '20 20:02 ry

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.

bnoordhuis avatar Nov 19 '20 11:11 bnoordhuis

Probably we should use asan instead of valgrind (due to slowness) https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html

ry avatar Feb 05 '21 19:02 ry