I'm starting work on my first commerical project with Rust after doing a few trials without issue but I've hit a snag.
This project is on Windows and I've tried Rust 1.45 and 1.46 and right now it is just reading some data out of an sqlite database. I've tried rusqlite and sqlite crates and both give the same behaviour.
The program itself runs with any issues. However running
cargo test crashes with an access violation.
I suspected the sqlite interface so I removed all but a trivial test which adds two numbers and the crash still happens. Sometimes rusqlite fails to build - but not consistently which is also very strange.
Where should I start with troubleshooting this?