Cross-compilation-safe FFI for a pre-compiled C library that must ship dormant and activate at runtime
Status: Problem statement for Go-team review, not a proposal. It stops deliberately at "here is the problem and who it hurts"; candidate solutions will be filed separately.
Authors: Eliott Bouhana
Affected projects: DataDog/dd-trace-go, DataDog/go-libddwaf, DataDog/libddwaf, ebitengine/purego.
Reading time: 7 min