We currently explicitly do it in CI https://github.com/cashapp/redwood/blob/58f2bc1b9e620f0e6e5825420ae7455f1327427f/.github/workflows/build.yaml#L73 But it'd be nice to just make that the default with configuration. Copy from https://github.com/square/zstd-kmp/pull/44 except only do release build types.