[英]Bazel sorts keys of attr.label_keyed_string_dict implicity
I'm currently running Bazel 0.9.0. 我目前正在运行Bazel 0.9.0。 I've defined a custom Bazel rule.
我定义了一个自定义的Bazel规则。 In one of the fields, I'm using a attr.label_keyed_string_dict .
在其中一个字段中,我正在使用attr.label_keyed_string_dict 。 While processing the keys during evaluation phase, the keys are being sorted implicitly.
在评估阶段处理密钥时,将对密钥进行隐式排序。 Is there any flag/option to disable this feature.
是否有任何标记/选项来禁用此功能。 I've checked version 0.14 in which the keys aren't sorted implicitly.
我检查了0.14版,其中的键没有隐式排序。 But I wanted to know if there is anything we can do within version 0.9.0
但我想知道在0.9.0版中我们是否可以做任何事情
I don't believe there's anything you can do for this in 0.9.0
. 我不认为您可以在
0.9.0
为此做任何事情。 Please update to the newest version of Bazel :) Are there issues preventing you from updating? 请更新到最新版本的Bazel :)是否存在阻止您更新的问题?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.