Skip to content

fix: std-freestanding 0.3.1 —— 0.3.0 的 alloc feature 实际不可用 - #229

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/std-freestanding-0.3.1
Aug 20, 2026
Merged

fix: std-freestanding 0.3.1 —— 0.3.0 的 alloc feature 实际不可用#229
Sunrisepeak merged 1 commit into
mainfrom
fix/std-freestanding-0.3.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

⚠️ 0.3.0 的 [feature-deps] 写的是 0.1.x,而安装器没有这种选择器,字面量原样送过去
即 E_NOT_FOUND ⇒ 实现取不回来的 feature 等于不存在的 feature

对照组(cmdline,索引里确定存在):0.0.1 通过 · 0.0 通过 · 0.0.x 失败
0.3.1 改用两段前缀。

0.3.0 保留:发布过的版本就是可能有人 pin 过的版本,且它不会分配的那半边不受影响。

⚠️ 0.3.0 的 [feature-deps] 写的是 `0.1.x`,而安装器没有这种选择器,字面量原样送过去
即 E_NOT_FOUND ⇒ **实现取不回来的 feature 等于不存在的 feature**。

对照组(cmdline,索引里确定存在):0.0.1 通过 · 0.0 通过 · **0.0.x 失败**。
0.3.1 改用两段前缀。

0.3.0 保留:发布过的版本就是可能有人 pin 过的版本,且它不会分配的那半边不受影响。
@Sunrisepeak
Sunrisepeak merged commit 1b6b25e into main Aug 20, 2026
8 checks passed
@Sunrisepeak
Sunrisepeak deleted the fix/std-freestanding-0.3.1 branch August 20, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants