Sequal32 / simconnect-rust

SimConnect bindings for rust.
MIT License
32 stars 13 forks source link

Stack overflow when building #4

Closed agubelu closed 3 years ago

agubelu commented 3 years ago

Hi, I've encountered an stack overflow error when trying to build a project using the simconnect crate:

2021-01-19 10_06_05

I've tried in two different machines with the same result, running rustup 1.23.1 + rustc 1.48.0 and 1.49.0.

I have also tried generating a stack trace of the error with little success, I'd appreciate some help to find out what's going wrong exactly.

Thank you!

Sequal32 commented 3 years ago

Hi, this was caused by a change in one of the dependencies. More specifically, the crate thread_local in the regex crate upgraded to 1.1.0.

https://github.com/Amanieu/thread_local-rs/issues/23

I’ll add a new entry in the Cargo.toml similar to what skia-bindings did to fix this https://github.com/rust-skia/rust-skia/commit/c44b7c67238a510ef8cc56d3372a1802824acba3

agubelu commented 3 years ago

Thanks!