yuzu-windows-msvc
Use the supported Yuzu Windows workflow: MSYS2 bash plus MSVC plus vcpkg. Use when handling Windows builds, `setup_msvc_env.sh`, `triplets/x64-windows.cmake`, Windows CI, or the Windows-specific proto
Files2
View on GitHubSKILL.md.codex/skills/yuzu-windows-msvc/SKILL.md
GitHubYuzu Windows MSVC
Use The Supported Workflow
- Start in MSYS2 bash.
- Run
source ./setup_msvc_env.sh. - Meson resolves the gateway's Erlang/OTP itself; run
source scripts/ensure-erlang.shonly before runningrebar3orerlby hand. - Use
build-windowsfor local builds. - Use
./scripts/setup.sh [--tests]beforemeson compile -C build-windowsunless the build directory already exists and only needs a reconfigure.
Never Do These
- Do not use
vcvars64.bat. - Do not use Clang or
C:\Program Files\LLVM\bin. - Do not reuse Linux or WSL build directories for native Windows work.
- Do not replace the Windows protobuf and grpc wiring with Meson's
dependency(..., method: 'cmake')path.
Treat These Files As Load-Bearing
setup_msvc_env.shdocs/windows-build.md- root
meson.build triplets/x64-windows.cmake.github/workflows/ci.yml
Diagnose By Layer
- Toolchain missing: inspect the verification output from
setup_msvc_env.sh. - Debug versus release link mismatch: inspect
vcpkg_installed/x64-windows/libversusvcpkg_installed/x64-windows/debug/lib. - CI-only failure: compare against the Windows workflow's
build-windows-ciconfigure flags and PATH setup. - Gateway failure: distinguish a hex.pm fetch flake from a Yuzu code failure before changing source.
Validate
- Configure and compile
build-windows. - Run narrow Windows-relevant test suites first.
- If the task is CI-related, mirror
build-windows-cisettings from.github/workflows/ci.ymlbefore drawing conclusions.
Invoke Sibling Skills
- Invoke
$yuzu-mesonfor Meson graph edits. - Invoke
$yuzu-buildfor validation flow and suite selection.
Read On Demand
docs/windows-build.mdsetup_msvc_env.shmeson.buildtriplets/x64-windows.cmake.github/workflows/ci.yml