Skip to content

Abort when libuv at runtime mismatches libuv at compile time

Ondřej Surý requested to merge ondrej-enforce-minimal-libuv-version into main

When we compile with libuv that has some capabilities via flags passed to f.e. uv_udp_listen() or uv_udp_bind(), the call with such flags would fail with invalid arguments when older libuv version is linked at the runtime that doesn't understand the flag that was available at the compile time.

Enforce minimal libuv version when flags have been available at the compile time, but are not available at the runtime. This check is less strict than enforcing the runtime libuv version to be same or higher than compile time libuv version.

Merge request reports