Skip to content

std-freestanding 0.5.0 - #238

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/std-freestanding-0.5.0
Aug 21, 2026
Merged

std-freestanding 0.5.0#238
Sunrisepeak merged 1 commit into
mainfrom
feat/std-freestanding-0.5.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

0.5.0 让 build.mcpp 在工具链载荷之外再看一处:已安装的 xim:libcxx-headers

Windows 的 llvm 载荷把 clang 编译在 MSVC 标准库上、不带 libc++,所以那一行此前只能断言缺口。现在它真正构建。

  • 三平台各加 0.5.0 行(GLOBAL + CN 双端,CN 已回探逐字节核对)
  • windows 平台deps = { "xim:libcxx-headers@22.1.8" }
  • 文件头那段「NO deps」的注释已被这次改动证伪,重写为「两平台为空,例外说明了规则」

⚠️ deps 是按平台而非按版本的,于是也套到 0.2.0–0.4.0 —— 那几版在 Windows 上本就构建不出来。

Windows 的 llvm 载荷不带 libc++,于是 build.mcpp 从 0.5.0 起看第二处:
已安装的 xim:libcxx-headers。索引侧只需 windows 平台加一条 deps。

deps 是按平台而非按版本的,于是它也套到 0.2.0–0.4.0 上 —— 那几版在
Windows 上本来就构建不出来,代价是一次小下载。
@Sunrisepeak
Sunrisepeak merged commit 1c39667 into main Aug 21, 2026
8 checks passed
@Sunrisepeak
Sunrisepeak deleted the feat/std-freestanding-0.5.0 branch August 21, 2026 00:15
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.

1 participant