Skip to content

Commit 794a456

Browse files
authored
feat(openkal-emscripten): 0.1.1, whose threads feature needs the consumer's ABI switch (#400)
The threads feature declares requires_abi = { threads = true }; the consumer's root manifest supplies [target.'cfg(os = "emscripten")'.abi] threads = true (mcpp 2026.9.12.2). The GitHub tag archive and the mcpp-res GitCode asset are byte-identical (40399 bytes, sha256 a33359fc...).
1 parent 8963c6f commit 794a456

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

pkgs/o/openkal-emscripten.lua

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
-- different C library build, memory model and loader contract on this
2727
-- platform. Without the feature its translation unit is empty and the eight
2828
-- symbols do not exist, which is the same treatment the three absent
29-
-- interfaces get.
29+
-- interfaces get. From 0.1.1 the feature states `requires_abi = { threads =
30+
-- true }`, and the consumer's root manifest supplies the switch for the whole
31+
-- link with `[target.'cfg(os = "emscripten")'.abi] threads = true` (mcpp
32+
-- 2026.9.12.2); a consumer that activates the feature without it is refused
33+
-- before anything compiles.
3034
--
3135
-- Conformance, measured with emsdk 6.0.9 under node: 86 held, 0 did not hold,
3236
-- 13 not observed.
@@ -41,6 +45,13 @@ package = {
4145

4246
xpm = {
4347
linux = {
48+
["0.1.1"] = {
49+
url = {
50+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.1.tar.gz",
51+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.1.1/openkal-emscripten-0.1.1.tar.gz",
52+
},
53+
sha256 = "a33359fc3f3d35f713cacd88b5a2859e77d0ddca4662b9c30da5dce83a36ec6d",
54+
},
4455
["0.1.0"] = {
4556
url = {
4657
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.0.tar.gz",
@@ -50,6 +61,13 @@ package = {
5061
},
5162
},
5263
macosx = {
64+
["0.1.1"] = {
65+
url = {
66+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.1.tar.gz",
67+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.1.1/openkal-emscripten-0.1.1.tar.gz",
68+
},
69+
sha256 = "a33359fc3f3d35f713cacd88b5a2859e77d0ddca4662b9c30da5dce83a36ec6d",
70+
},
5371
["0.1.0"] = {
5472
url = {
5573
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.0.tar.gz",
@@ -59,6 +77,13 @@ package = {
5977
},
6078
},
6179
windows = {
80+
["0.1.1"] = {
81+
url = {
82+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.1.tar.gz",
83+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.1.1/openkal-emscripten-0.1.1.tar.gz",
84+
},
85+
sha256 = "a33359fc3f3d35f713cacd88b5a2859e77d0ddca4662b9c30da5dce83a36ec6d",
86+
},
6287
["0.1.0"] = {
6388
url = {
6489
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.1.0.tar.gz",

0 commit comments

Comments
 (0)