tov / libffi-rs

Rust bindings for libffi
Apache License 2.0
100 stars 35 forks source link

Work around clang-16 build failure #74

Closed uweigand closed 1 year ago

uweigand commented 1 year ago

Building with clang-16 or newer currently fails as the issue described in https://github.com/libffi/libffi/issues/760 causes a compile error.

Fix this by adding the -Wno-implicit-function-declaration compiler flag, which allows the current source code to still be built.

Addresses https://github.com/tov/libffi-rs/issues/73.