From d176fe2734ee3f7aecec1618bea52b6b32ae1eec Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Thu, 8 Aug 2024 07:44:59 +0300 Subject: [PATCH] misc --- scripts/pre_build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pre_build.js b/scripts/pre_build.js index 3e6b4ae..fe01f15 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)