twistedfall

Results 193 comments of twistedfall

Well the build script itself uses the job server: https://github.com/twistedfall/opencv-rust/blob/master/build/generator.rs#L82, but it releases the acquired tokens, so it should be fine. But I'm reading the docs for the `jobserver` and...

That would work I think, but it looks like it's only time before another crate uses `jobserver` and `cc` with `parallel` feature at the same time and encounters the same...

> @twistedfall I've opened a PR in jobserver-rs for this use case. Thanks a lot for that, this should be the best solution!

@NobodyXu I have tried switching to `jobslot` and I can confirm that it works together with `cc` version 1.0.81, but there is a change in parallel behavior, it looks like...

The `main` branch seems to work (https://github.com/twistedfall/opencv-rust/actions/runs/6864735405/job/18667178550), although I do see a "macOS deployment target (10.7) too low, it will be increased" warning on each `c++` invocation. Additionally it seems...

> Ah, yeah, we should cache this result. Does that actually cause problems though? It's from a different change. Not really, it's just a new behavior that I noticed which...

Can you please try crate version 0.34?

Do you still have this issue? If so `cargo build -vv` is always useful to provide the insight into what's happening during binding generation. Please also be sure to use...

vcpkg says that it can't find installed OpenCV: > === Can't probe using: vcpkg, continuing with other methods because: Could not find library in Vcpkg tree package opencv4 is not...

Technically C++ `std::shared_ptr` can [share the owned data](https://en.cppreference.com/w/cpp/memory/shared_ptr) (`Several shared_ptr objects may own the same object` :exploding_head:), so it wouldn't be safe to mark those as `Send`, but I think...