Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Aug 8, 2024
1 parent b0654b0 commit d176fe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/pre_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d176fe2

Please sign in to comment.