aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2021-12-07 12:39:19 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-12-07 15:28:21 +0100
commita813a8c5947af0edb696e649380a092ee5ec2bbf (patch)
treec4a930a8a450fd1ce778d370f334e9e4c9ae4dee
parent4a482c7d2e31388197455d45801ed4602407ed0c (diff)
downloadjazzer-api-a813a8c5947af0edb696e649380a092ee5ec2bbf.tar.gz
Explain incompatible_strict_action_env usage on Windows
-rw-r--r--.bazelrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/.bazelrc b/.bazelrc
index a685613d..51b74b21 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -24,9 +24,8 @@ build --tool_java_language_version=9
build:windows --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
build:windows --extra_execution_platforms=//:x64_windows-clang-cl
build:windows --features=static_link_msvcrt
-# Required so that the JDK can find itself when loading the instrument agent lib.
-# FIXME: Debug why this is the case even though sun.boot.library.path is correctly set to
-# external\local_jdk\bin under the Bazel cache.
+# Required as PATH doubles as the shared library search path on Windows and the
+# Java agent functionality depends on system-provided shared libraries.
test:windows --noincompatible_strict_action_env
run:windows --noincompatible_strict_action_env