Repository navigation
Commit e1797ae
committed
device_extensions and rule_module are read, and were reported as unsupported
同一个解析器往上约四十行就把这两个键读进 `featureDeviceExtensions` 与
`featureRuleModule`,prepare 在消费者激活该 feature 时会读它们 —— 它们正是「新增一门
设备语言不需要引擎发版」的全部依据。它们只是没被加进 `kKnownFeatureKeys`,于是引擎对
一个它刚刚用过的键打印:
[features].rules-spirv has unsupported key 'rule_module' (ignored).
Supported keys: defines, flags, forward, implies, provides, requires, sources.
比消息错更坏:它在**建议包作者删掉让规则生效的那两行**。
没被发现,是因为规则包平时走的 host-module 路径不打印 schema 警告;而**普通**构建会
打印。当一个规则包开始产出 `tools = [...]` 要的二进制,它的普通构建就成了常态,这条
噪音于是浮到每个用户面前。1 parent 4f50903 commit e1797ae
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
840 | 859 | | |
841 | 860 | | |
842 | 861 | | |
| |||
0 commit comments