help wanted
描述
#1910 adds mingw cross compilations, and tests it in CI. But only CLI generation is tested.
The issue is, library compilation generates warnings related to -fPIC compilation flag. Since tests follow a zero-warning policy, running such a test would break CI.
The goal is to find a way to cross-compile libzstd with mingw without generating warnings.