From 46c57125e67c78e86fd300e8c3caeeaca42822a7 Mon Sep 17 00:00:00 2001 From: speak-agent Date: Sun, 13 Sep 2026 23:56:57 +0800 Subject: [PATCH 1/2] mcpp:plugins 0.9.2: dist-apple places deployed files at the bundle's resource destination --- pkgs/m/mcpp.plugins.lua | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index b109d805..1e5c1fae 100644 --- a/pkgs/m/mcpp.plugins.lua +++ b/pkgs/m/mcpp.plugins.lua @@ -2,12 +2,21 @@ -- each member selected by a feature. -- -- [dependencies.mcpp] --- plugins = { version = "0.9.1", features = ["rules-spirv"], host-module = true } +-- plugins = { version = "0.9.2", features = ["rules-spirv"], host-module = true } -- -- // build.mcpp -- import mcpp; -- import mcpp.rules.spirv; -- +-- 0.9.2 measures under **mcpp 2026.9.13.2**, the release that stages a Mach-O +-- program's tree before the closure walk (mcpp#630, item 3a): `dist-apple` +-- places the staged tree's deployed files at the bundle's resource +-- destination (`Contents/Resources//...` on macOS, the bundle root on +-- iOS) and the launcher alone in the executable directory. Its iOS fixture +-- declares `llvm.libcxx` and `llvm.compiler-rt-builtins` under +-- `cfg(os = "ios")`, which is what an application that imports `std` declares +-- on those rows from that release. mcpp-community/mcpp-plugins#22. +-- -- 0.9.1 (same mcpp floor as 0.9.0): `dist-apk` links a project's -- `options::resources` positionally as the application's BASE resources -- -- 0.9.0 passed the compiled unit as `-R`, aapt2's overlay, which refuses every @@ -443,6 +452,13 @@ package = { xpm = { linux = { + ["0.9.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.9.2/mcpp-plugins-0.9.2.tar.gz", + }, + sha256 = "0c42984ec91b2e76cde72115ecf3d818ee48866141ae0a54037736b1a0c46def", + }, ["0.9.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.1.tar.gz", @@ -586,6 +602,13 @@ package = { ["latest"] = { ref = "0.9.1" }, }, macosx = { + ["0.9.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.9.2/mcpp-plugins-0.9.2.tar.gz", + }, + sha256 = "0c42984ec91b2e76cde72115ecf3d818ee48866141ae0a54037736b1a0c46def", + }, ["0.9.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.1.tar.gz", @@ -729,6 +752,13 @@ package = { ["latest"] = { ref = "0.9.1" }, }, windows = { + ["0.9.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.9.2/mcpp-plugins-0.9.2.tar.gz", + }, + sha256 = "0c42984ec91b2e76cde72115ecf3d818ee48866141ae0a54037736b1a0c46def", + }, ["0.9.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.9.1.tar.gz", From 158b3f00390c1c0d814cb273c06a91daa148f77c Mon Sep 17 00:00:00 2001 From: speak-agent Date: Sun, 13 Sep 2026 23:57:23 +0800 Subject: [PATCH 2/2] mcpp:plugins latest -> 0.9.2 --- pkgs/m/mcpp.plugins.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index 1e5c1fae..5b9aa1fa 100644 --- a/pkgs/m/mcpp.plugins.lua +++ b/pkgs/m/mcpp.plugins.lua @@ -599,7 +599,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.9.1" }, + ["latest"] = { ref = "0.9.2" }, }, macosx = { ["0.9.2"] = { @@ -749,7 +749,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.9.1" }, + ["latest"] = { ref = "0.9.2" }, }, windows = { ["0.9.2"] = { @@ -899,7 +899,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.9.1" }, + ["latest"] = { ref = "0.9.2" }, }, },