From 43af418b183d3ebbd5e6379e4e6d42cd80bca61d Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Tue, 21 May 2024 15:27:24 -0400 Subject: [PATCH] chore(ci): Fix nextest / rustup dll issue Workaround for issue in nextest caused by a change in rustup: https://github.com/nextest-rs/nextest/issues/1493 Fixes: ``` error: creating test list failed Caused by: for `vector-config-macros`, command `'C:\a\vector\vector\target\debug\deps\vector_config_macros-4fc11cf764d99dff.exe' --list --format terse` exited with code 0xc0000135: The specified module could not be found. (os error 126) ``` Signed-off-by: Jesse Szwedko --- scripts/environment/bootstrap-windows-2019.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/environment/bootstrap-windows-2019.ps1 b/scripts/environment/bootstrap-windows-2019.ps1 index 2a220117e5f2f..457d8a599af85 100644 --- a/scripts/environment/bootstrap-windows-2019.ps1 +++ b/scripts/environment/bootstrap-windows-2019.ps1 @@ -25,3 +25,6 @@ echo "OPENSSL_SRC_PERL=C:\Strawberry\perl\bin\perl.exe" | Out-File -FilePath $en # Force the proto-build crate to avoid building the vendored protoc. echo "PROTO_NO_VENDOR=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + +# Workaround for https://github.com/nextest-rs/nextest/issues/1493 +echo "RUSTUP_WINDOWS_PATH_ADD_BIN=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append