There were a lot of bindgen tests failing on Windows because sizeof(long)==4, although I think because everything was actually internally consistent with the MySQL header, those failures were actually spurious. Also, the file handle size is int on unixoids and long long on Windows so stuff containing file handles was probably not being used. Because of all that I ran bindgen on a Windows machine and added those bindings to the crate also.
I have run the Diesel Travis and Appveyor against it and it works.
Similar to https://github.com/sgrif/pq-sys/pull/13, this is intended to make Diesel easier to install/build on Windows.
There were a lot of bindgen tests failing on Windows because
sizeof(long)==4
, although I think because everything was actually internally consistent with the MySQL header, those failures were actually spurious. Also, the file handle size isint
on unixoids andlong long
on Windows so stuff containing file handles was probably not being used. Because of all that I ran bindgen on a Windows machine and added those bindings to the crate also.I have run the Diesel Travis and Appveyor against it and it works.