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

trying to solve windows build issue (12)

matthew-heartful2b5a3852671e
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 49eccb551..d83b6f1d4 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,5 @@
[target.x86_64-pc-windows-msvc]
-rustflags = ["-C", "target-feature=-crt-static"]
\ No newline at end of file
+rustflags = [
+ "-C", "target-feature=-crt-static",
+ "-C", "link-args=/NODEFAULTLIB:libcmt.lib"
+]
\ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 05f6fe02a..0a527370f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -168,8 +168,12 @@ jobs:
test-vcpkg:
runs-on: ubuntu-latest
steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
- name: Install cargo-vcpkg
run: cargo install cargo-vcpkg
- name: Build with vcpkg integration
run: cargo vcpkg build
+ working-directory: ./screen-pipe