mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 20:52:19 +08:00
Run asan in CI. Fixes #713
This commit is contained in:
committed by
Thom Chiovoloni
parent
4abc8a4fdd
commit
185899eab1
@@ -80,6 +80,11 @@ mod build_bundled {
|
||||
.flag("-DSQLITE_USE_URI")
|
||||
.flag("-DHAVE_USLEEP=1")
|
||||
.warnings(false);
|
||||
|
||||
if cfg!(feature = "with-asan") {
|
||||
cfg.flag("-fsanitize=address");
|
||||
}
|
||||
|
||||
// Older versions of visual studio don't support c99 (including isnan), which
|
||||
// causes a build failure when the linker fails to find the `isnan`
|
||||
// function. `sqlite` provides its own implmentation, using the fact
|
||||
|
Reference in New Issue
Block a user