Open strowbeary opened 3 years ago
@strowbeary thanks for reporting this issue, sorry but I don't have access to MacOS with M1, it seems like a bug in bindgen.
Can you please try to rebuild with bindgen = "0.57.0"
?
It gives me
error: failed to select a version for `clang-sys`.
... required by package `bindgen v0.57.0`
... which is depended on by `redisearch_api v0.5.0 (/Users/r.caillot/Projets/mfo/redisearch-api-rs)`
versions that meet the requirements `^1` are: 1.1.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0
the package `clang-sys` links to the native library `clang`, but it conflicts with a previous package which links to `clang` as well:
package `clang-sys v0.29.0`
... which is depended on by `bindgen v0.54.0`
... which is depended on by `redis-module v0.11.0`
... which is depended on by `redisearch_api v0.5.0 (/Users/r.caillot/Projets/mfo/redisearch-api-rs)`
failed to select a version for `clang-sys` which could resolve this conflict
I'll try to update all dependencies to make it work later
No idea why @strowbeary has still problems, but it works for me.
cargo update -p bindgen
The problem is, that this patch adds bindgen 0.57.0
however, rust-modules have 0.57
.
Hello i'm unable to build this module on macos arm 64 Here are the logs