Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: windows build

Louis Beaumont28726fcbca01
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index f6e5d19f8..e54ba0e27 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -266,6 +266,9 @@ jobs:
export PKG_CONFIG_PATH="~/.local/lib/pkgconfig:$PKG_CONFIG_PATH"
export MKLROOT="/opt/intel/mkl"
fi
+ if [[ "${{ matrix.args }}" == "--target x86_64-pc-windows-msvc" ]]; then
+ export RUSTFLAGS="-C target-feature=+crt-static"
+ fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
# Run pre build again to copy the CLI into app