Skip to content

Commit b4bc590

Browse files
SunrisepeakSunrisepeak
andauthored
openkal-emscripten 0.14.3: the rights tables zero by default (~80 KiB less data in every Web build) (#799)
Co-authored-by: Sunrisepeak <speakshen@outlook.com>
1 parent ffbca1d commit b4bc590

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
### Fixed
2222

23+
- **openkal-emscripten 0.14.3。** 描述符权限表(4096 个条目与 64 个根)的成员默认值为 -1,两张表因此是已初始化数据:每个 Web
24+
构建的程序带着约 80 KiB 不会用到的字节(一个交付预算 4,000,000 B 的站点因此超出 9,332 B)。默认值全部改为零,取用的槽位再设哨兵;
25+
emsdk 6.0.9、-O2 下 `g_entries` 与 `g_roots` 从 `.data` 移到 `.bss`,行为不变(mcpplibs/openkal-emscripten#22)。
2326
- **openkal-image 0.6.4(openkal-run、openkal-ld、openkal-tools、openkal-bind)。** okrun 在匹配前对每个映像名作词法规整,绝对名与相对名
2427
一样:空分量(`//`)与 `.` 去掉,`..` 去掉前一分量;此前绝对名原样匹配,含 `//` 的名字被拒绝。发布工作流在发布时自动运行,每个
2528
发布都带产物,并增加 FreeBSD x86_64 与 aarch64(在 FreeBSD 机器中运行后附加)(mcpplibs/openkal-image#40)。

‎pkgs/o/openkal-emscripten.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ package = {
4646

4747
xpm = {
4848
linux = {
49+
["0.14.3"] = {
50+
url = {
51+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.3/openkal-emscripten-0.14.3.tar.gz",
53+
},
54+
sha256 = "9f93b12158429523f31530cb1d5817798e3ff9c9c9bd35b662e10d6399ac8701",
55+
},
4956
["0.14.2"] = {
5057
url = {
5158
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.2.tar.gz",
@@ -167,6 +174,13 @@ package = {
167174
},
168175
},
169176
macosx = {
177+
["0.14.3"] = {
178+
url = {
179+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",
180+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.3/openkal-emscripten-0.14.3.tar.gz",
181+
},
182+
sha256 = "9f93b12158429523f31530cb1d5817798e3ff9c9c9bd35b662e10d6399ac8701",
183+
},
170184
["0.14.2"] = {
171185
url = {
172186
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.2.tar.gz",
@@ -288,6 +302,13 @@ package = {
288302
},
289303
},
290304
windows = {
305+
["0.14.3"] = {
306+
url = {
307+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",
308+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.3/openkal-emscripten-0.14.3.tar.gz",
309+
},
310+
sha256 = "9f93b12158429523f31530cb1d5817798e3ff9c9c9bd35b662e10d6399ac8701",
311+
},
291312
["0.14.2"] = {
292313
url = {
293314
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.2.tar.gz",

0 commit comments

Comments
 (0)