Commit dfdcadc
authored
docs: the gate on the layer declaration is the index, not this package's floor (#3)
推迟 `provides = ["mcpp:compiler-runtime=…"]` 的注释把判据写成了
「本包的 floor 移到 2026.8.24.2」。判据不是这个 —— 读这份文件的人
手上有什么,由**索引服务哪个版本**决定,和本包声明的 floor 无关。
2026-08-24 实测,依赖各声明一个键,构建工具取索引 `latest` 指向的版本:
requires = ["mcpp:compiler=llvm"] 2026.8.24.1 exit 0,静默忽略
provides = ["mcpp:compiler-runtime=…"] 2026.8.24.1 exit 2,整份拒绝
⭐ 于是两个键的答案是分开的:`requires` 今天就能发,层声明不能。
而 24.2 引入的那份宽容对现实中的任何用户都还不存在 —— **24.2 从未进索引**,
索引的 latest 停在 24.1。「新版本支持了」和「用户拿得到」是两件事。
开门条件改写为:索引的 `latest` 到达 2026.8.24.2 或以上。1 parent 28034c3 commit dfdcadc
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
0 commit comments