File tree Expand file tree Collapse file tree
pkg/privateactionrunner/par-control Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments