diff --git a/scripts/pre_build.js b/scripts/pre_build.js index 3e6b4aeb..fe01f159 100755 --- a/scripts/pre_build.js +++ b/scripts/pre_build.js @@ -270,6 +270,7 @@ if (process.env.GITHUB_ENV) { await fs.appendFile(process.env.GITHUB_ENV, embed_metal) } if (platform == 'windows') { + // ort + whisper.cpp + fbank-rs... something there requires static linking of msvc const rustFlags = `RUSTFLAGS="-C target-feature=+crt-static"\n` console.log('Adding ENV', rustFlags) await fs.appendFile(process.env.GITHUB_ENV, rustFlags)