You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling ta-lib-wrapper v0.2.0
error: failed to run custom build command for `ta-lib-wrapper v0.2.0`
Caused by:
process didn't exit successfully: `/[masked]/target/debug/build/ta-lib-wrapper-f988d2d81e18d3e8/build-script-build` (exit status: 101)
--- stdout
cargo:rustc-link-lib=ta_lib
--- stderr
thread 'main' panicked at /[masked]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/src/ir/context.rs:891:9:
"__mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3)" is not a valid Ident
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Compile error
I get the following error on build
I am on Ubuntu, Here is some extra info:
Research
I found these discussions useful:
rust-lang/rust-bindgen#2700
https://stackoverflow.com/questions/76443280/rust-bindgen-causes-a-is-not-a-valid-ident-error-on-build
rust-lang/rust-bindgen#2312
I seems to be an issue with newer versions of llvm and older versions of bindgen.
It appears that latest vesion of bindgen works.
The text was updated successfully, but these errors were encountered: