Resurrect Envoy on Windows
Author: yanavlasovCreated Aug 19, 2026Updated Sep 28, 2026
Labelsenhancementno stalebotarea/windows
Big thanks to @anuraaga for keeping Windows Envoy fork.
Open tasks:
The top most commit in the envoyproxy/envoy-windows repo contains a patch needed to build Envoy on Windows and bazel command line.
Prerequisites:
- MS Visual Studio 2022 community with C++ core tools
- Windows 11 SDK
- clang v20.x
- msys64 (install in the default c:\msys64 dir)
- bazelisk
- environment:
- set BAZEL_LLVM=h:\clang
- set BAZEL_LLVM_PATH=h:\clang
- set PATH=c:\msys64\\usr\bin;%PATH%
To build Envoy: bazel --bazelrc=bazelrc.windows build -c fastbuild --config=windows //:envoy
Tests: bazel --bazelrc=bazelrc.windows test -c fastbuild --config=windows //test/...
Please add your name next to the item you are working on.
- Fix Windows build post bzlmod migration
- Create envoyproxy/envoy-windows repo
- Create GH action to rebase envoyproxy/envoy-windows on envoyproxy/envoy every N minutes
- Create docker image with build tools.
- Create GH actions to use Google RBE for building Envoy on Windows in envoyproxy/envoy-windows
- Create bazelrc.windows with windows build settings #46845
- Unit test link fails because Windows linker wants all exported symbols to be defined (unlike GNU ld, which ignores undefined symbols). Causes undefined symbol errors for all exported dyn modules symbols. (#47099)
- Fix bit rotten unit tests
- Move small changes from the patch to Envoy repo.
- Cleanup the reverse tunnel patch -< @hjk068 (#47062)
- Implement dynamic modules Windows platform code. Preferrable to use Windows native calls instead of dlwin wrapper which needs additional tweaks in the barebones toolchain.
- Fix LUA build on Windows (waiting for registry update)
- Fix use of WSASetRecvIPEcn Checking with QUICHE team that put in this change.
- optional: publish artifacts. Maybe docker image with Envoy?
For reference: https://github.com/curioswitch/py-envoy-server/blob/main/.github/actions/build-windows/action.yaml#L35
Source: envoyproxy/envoy