mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 20:52:19 +08:00
Rustfmt
This commit is contained in:
@@ -74,11 +74,13 @@ mod build_bundled {
|
||||
.flag("-DSQLITE_THREADSAFE=1")
|
||||
.flag("-DSQLITE_USE_URI")
|
||||
.flag("-DHAVE_USLEEP=1");
|
||||
// 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 that x != x when x is NaN.
|
||||
// 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
|
||||
// that x != x when x is NaN.
|
||||
//
|
||||
// There may be other platforms that don't support `isnan`, they should be tested for here.
|
||||
// There may be other platforms that don't support `isnan`, they should be
|
||||
// tested for here.
|
||||
if cfg!(target_env = "msvc") {
|
||||
use self::cc::windows_registry::{find_vs_version, VsVers};
|
||||
let vs_has_nan = match find_vs_version() {
|
||||
|
Reference in New Issue
Block a user