sgrif / mysqlclient-sys

Rust bindings for libmysqlclient
Apache License 2.0
37 stars 32 forks source link

Fix buildtime_bindgen for non x86_64 architectures #50

Closed BlackDex closed 5 months ago

BlackDex commented 5 months ago

During some testing it appeared that the buildtime_bindgen feature still generates a panic even though it shouldn't when generating bindings for non x86_64 architectures.

Adding an extra cfg check to prevent this error.