From 2e2a2a9cb7485f2b819a73eef69d7ff0938e7625 Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 19 May 2025 00:30:41 -0700 Subject: [PATCH 1/2] update for windows --- src/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BUILD b/src/BUILD index 46de054..c4786c0 100644 --- a/src/BUILD +++ b/src/BUILD @@ -30,7 +30,7 @@ OPT_COPTS = select({ ], ":debug": ["-Og"], }) + select({ - "@platforms//os:windows": ["/std:c++20"], + "@bazel_tools//src/conditions:windows": ["/std:c++20"], "//conditions:default": ["-std=c++20"], }) + select({ "@platforms//os:macos": ["-mmacosx-version-min=10.15"], From 952af3a1a31d200ae975b609c81cc86171ccd30c Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 19 May 2025 00:46:38 -0700 Subject: [PATCH 2/2] removing window --- .github/workflows/ci.yml | 2 +- src/BUILD | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 331158b..0e06251 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} diff --git a/src/BUILD b/src/BUILD index c4786c0..4da3dad 100644 --- a/src/BUILD +++ b/src/BUILD @@ -30,7 +30,6 @@ OPT_COPTS = select({ ], ":debug": ["-Og"], }) + select({ - "@bazel_tools//src/conditions:windows": ["/std:c++20"], "//conditions:default": ["-std=c++20"], }) + select({ "@platforms//os:macos": ["-mmacosx-version-min=10.15"],