成员
coverage_enabled
bool configuration.coverage_enabled
ctx.coverage_instrumented 函数。
default_shell_env
dict configuration.default_shell_env
host_path_separator
string configuration.host_path_separator
short_id
string configuration.short_id
config 和 query 子命令可识别的此配置。
使用此标识符可以区分同一目标的不同配置,以便用户和工具使用,例如在 IDE 使用的方面。请注意以下事项:
- 该值可能因 Bazel 版本(包括补丁版本)而异。
- 该值会对每个 标志的值进行编码,包括与当前目标无关的标志,因此可能会更频繁地使缓存失效。
test_env
一个字典,其中包含用户指定的测试环境变量及其值,由 --test_env 选项设置。请勿使用!这不是完整的环境!dict configuration.test_env