mysqlclient-sys
mysqlclient-sys copied to clipboard
Rust bindings for libmysqlclient
Hi @weiznich @Mingun I added switch for whether or not use [rust-bindgen](https://rust-lang.github.io/rust-bindgen/) to autogen bindings. I also implemented `get_libmysql_version_id` helper for custom conditional compilation `mysql_version_id` and `mariadb_version_id`, so it is...
I mostly open this now to see if it works on CI. This is not useful without the bindgen/bindings changes in the other PR
#11 fix
I installed libmysql with vcpkg, and my application compiles, but it fails with message ```rust error: process didn't exit successfully: `target\release\demo.exe` (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND) ``` I can't figure out...
We've encountered test failures in debian on the following architectures: - [armel](https://buildd.debian.org/status/fetch.php?pkg=rust-mysqlclient-sys&arch=armel&ver=0.2.4-1&stamp=1567052270&raw=0) - [armhf](https://buildd.debian.org/status/fetch.php?pkg=rust-mysqlclient-sys&arch=armhf&ver=0.2.4-1&stamp=1567132195&raw=0) - [i386](https://buildd.debian.org/status/fetch.php?pkg=rust-mysqlclient-sys&arch=i386&ver=0.2.4-1&stamp=1566964545&raw=0) - [mipsel](https://buildd.debian.org/status/fetch.php?pkg=rust-mysqlclient-sys&arch=mipsel&ver=0.2.4-1&stamp=1567045482&raw=0) - [powerpc](https://buildd.debian.org/status/fetch.php?pkg=rust-mysqlclient-sys&arch=powerpc&ver=0.2.4-1&stamp=1566948319&raw=0) There might be something wrong with the bindings on these...
I'm currently fighting through the best way to get `libmysql` available on GH actions to test with Windows, and I can't be the only one. I've attempted installng via vcpkg...
I installed vcpkg as the readme mentioned, setup `VCPKG_ROOT` to the directory and used `vcpkg install libmysql:x64-windows` to install the libraries, but I'm still getting linker errors: ``` = note:...
All extern functions are marked as `extern "C"`, but in `mysqlclient.lib` some functions have `__stdcall` convention.  
This is the PR discussed in diesel's issue diesel-rs/diesel#2373. It includes the **update of the bindings to support MySQL client library 8.0** for the common Linux/MacOS bindings_macos.rs file. ### Tests:...