Skip to content

Commit 4d387e4

Browse files
committed
[ACTP] expose OpenSSL DLLs to Windows test loader
1 parent b54c470 commit 4d387e4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

pkg/privateactionrunner/par-control/BUILD.bazel

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,11 @@ rust_test(
109109
}),
110110
edition = "2024",
111111
env = select({
112-
# The Windows loader searches PATH before main(), so point it at the
113-
# runfiles directory containing the Agent OpenSSL DLLs.
114-
"@platforms//os:windows": {"PATH": "$(rlocationpath :par-control_test_openssl_dlls)"},
112+
# The Windows loader searches PATH before main(), so use the path from
113+
# the test's runfiles working directory. rlocationpath is a logical key
114+
# for a runfiles library and includes the workspace name, so Windows
115+
# cannot use it directly as a PATH entry.
116+
"@platforms//os:windows": {"PATH": "$(rootpath :par-control_test_openssl_dlls)"},
115117
"//conditions:default": {},
116118
}),
117119
rustc_env = _RUSTC_ENV,

0 commit comments

Comments
 (0)