From c78d30fc19f1899a07b10116955f2cd1e98fff8c Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Mon, 2 Nov 2026 15:55:13 +0900 Subject: [PATCH] mcpplibs.os 0.2.7: openkal 0.21's implementations Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- CHANGELOG.md | 2 ++ pkgs/o/os.lua | 21 +++++++++++++++++++++ tests/examples/os/mcpp.toml | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cb2407a..7b1a90a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ ### Added +- **mcpplibs.os 0.2.7。** openkal 0.21 的实现(openkal-linux 0.22.0、openkal-macos 0.19.0、openkal-windows 0.17.0、openkal-emscripten + 0.10.0),接口不变;其上的 ok 映像选 openkal-platform 0.21.0。测试成员 `os` 随之移动。 - **openkal-platform 0.21.0;openkal-emscripten 0.10.0。** openkal 0.21 的版本组:openkal 0.21.0 与三个实现、openkal-musl 0.26.0、 openkal-llvm-runtime 0.17.0、openkal-ld/run/tools 0.3.0;mcpp 2026.11.2.2 以它为内置的 `-openkal` 平台。openkal-emscripten 0.10.0 按 openkal 0.21 编写,0.21 的增补都在它不提供的接口上,其余不变。GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像, diff --git a/pkgs/o/os.lua b/pkgs/o/os.lua index b0b57293..a3c99956 100644 --- a/pkgs/o/os.lua +++ b/pkgs/o/os.lua @@ -31,6 +31,13 @@ package = { xpm = { linux = { + ["0.2.7"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.7.tar.gz", + CN = "https://gitcode.com/mcpp-res/os/releases/download/0.2.7/os-0.2.7.tar.gz", + }, + sha256 = "c3f8ebcb921ca43c48895a025166118dd91b54eeb5e2061301892865a127994f", + }, ["0.2.6"] = { url = { GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.6.tar.gz", @@ -94,6 +101,13 @@ package = { }, }, macosx = { + ["0.2.7"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.7.tar.gz", + CN = "https://gitcode.com/mcpp-res/os/releases/download/0.2.7/os-0.2.7.tar.gz", + }, + sha256 = "c3f8ebcb921ca43c48895a025166118dd91b54eeb5e2061301892865a127994f", + }, ["0.2.6"] = { url = { GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.6.tar.gz", @@ -157,6 +171,13 @@ package = { }, }, windows = { + ["0.2.7"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.7.tar.gz", + CN = "https://gitcode.com/mcpp-res/os/releases/download/0.2.7/os-0.2.7.tar.gz", + }, + sha256 = "c3f8ebcb921ca43c48895a025166118dd91b54eeb5e2061301892865a127994f", + }, ["0.2.6"] = { url = { GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.2.6.tar.gz", diff --git a/tests/examples/os/mcpp.toml b/tests/examples/os/mcpp.toml index 310f71a2..bfa022f7 100644 --- a/tests/examples/os/mcpp.toml +++ b/tests/examples/os/mcpp.toml @@ -7,7 +7,7 @@ name = "os-tests" version = "0.1.0" [dependencies.mcpplibs] -os = "0.2.6" +os = "0.2.7" [indices] mcpplibs = { path = "../../.." }