pact-net
pact-net copied to clipboard
RFC: Add linux-musl-x64 Runtime Support
Previous issues
Add linux-musl-x64
Runtime Support
Is your feature request related to a problem? Please describe.
According to Compatibility / Operating System page Linux (musl) is not supported, however starting with Pact FFI Library 0.4.17 the libpact_ffi-linux-aarch64-musl.so
and libpact_ffi-linux-x86_64-musl.so
shared libraries are part of releases.
Describe the solution you'd like
Update pact-net to use latest Pact FFI Library 0.4.19 which has the libpact_ffi
shared libraries and extend the NuGet package with additional runtime targets.
Breaking Changes No
Potential Downsides/Caveats n/a
Describe alternatives you've considered n/a
Additional context
After replacing the runtimes/linux-x64/native/libpact_ffi.so
file added by PactNet 5.0.0-beta.2 package with libpact_ffi-linux-x86_64-musl.so I was able to successfully run pact-net tests inside Docker using mcr.microsoft.com/dotnet/sdk:6.0.421-alpine3.19-amd64