twistedfall

Results 262 comments of twistedfall

After some digging around I can see that the source of the issue is dropping of `libloading::Library` in `clang_sys::link::SharedLibrary`. If I wrap it in `ManuallyDrop` the segfault doesn't happen.

Can you please first try using the latest version of the crate, 0.93.3?

As far as I can see it happens on Windows with clang-19.1 and `clang-runtime` crate feature enabled. I'll investigate, but in the meanwhile, downgrading clang or disabling that feature should...

This should now be fixed in v0.94.1

The workaround should also work for clang-20 too in version 0.94.3

Do you get a backtrace for the crash?

The error seems to be unrelated to the crate on the first glance, some kind of linking inconsistency on your system. But to be extra sure please provide the full...

The crate supports whatever your system OpenCV installation supports, so it should be fine. The error indicates a problem linking with `dnn` module of OpenCV. Please do a `cargo clean`...

That's not the full output unfortunately, full log would be around 1000 lines

`cargo build -vv 2>&1 | tee build_log.txt` should work