diff --git a/.github/workflows/xma2-decoder.yml b/.github/workflows/xma2-decoder.yml index 60208ae425..ff4559c6a1 100644 --- a/.github/workflows/xma2-decoder.yml +++ b/.github/workflows/xma2-decoder.yml @@ -39,7 +39,7 @@ jobs: if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } $library = Join-Path $env:CARGO_TARGET_DIR "debug\leonida_xma2_decoder.lib" $smoke = Join-Path $env:RUNNER_TEMP "leonida-xma2-ffi-smoke.exe" - cl /nologo /std:c++20 /EHsc /W4 /DNDEBUG /I runtime/xma_decoder runtime/xma_decoder/tests/ffi_cpp_smoke.cpp $library "/Fe:$smoke" ws2_32.lib userenv.lib ntdll.lib + cl /nologo /std:c++20 /EHsc /W4 /DNDEBUG /I runtime/xma_decoder runtime/xma_decoder/tests/ffi_cpp_smoke.cpp $library "/Fe:$smoke" ws2_32.lib userenv.lib ntdll.lib synchronization.lib if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } & $smoke if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } diff --git a/runtime/xma_decoder/README.md b/runtime/xma_decoder/README.md index 9db8018104..67341e60aa 100644 --- a/runtime/xma_decoder/README.md +++ b/runtime/xma_decoder/README.md @@ -14,7 +14,9 @@ cargo test --manifest-path runtime/xma_decoder/Cargo.toml --locked cargo build --manifest-path runtime/xma_decoder/Cargo.toml --locked ``` -The C++ smoke test is run by the xma2-decoder workflow with MSVC. It links ws2_32, userenv, and ntdll for Rust's Windows standard library. +The `xma2-decoder` workflow builds and runs the C++ smoke test with MSVC. It links `ws2_32.lib`, `userenv.lib`, +`ntdll.lib`, and `synchronization.lib` for Rust's Windows standard library. `synchronization.lib` resolves the +`WaitOnAddress` and `WakeByAddress*` imports in the Rust static library. ## Use in the runtime