成员
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