Skip to content

Commit 5c7be33

Browse files
mcpplibs.os 0.4.1: a standard stream kept while it is captured; what a program used (#738)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent c48c280 commit 5c7be33

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

‎CHANGELOG.md‎

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

2323
### Added
2424

25+
- **mcpplibs.os 0.4.1.** `stdio::capture` 在捕获期间把一个标准流保存为文件(经 openkal、C 库与期间启动的程序写出的内容),
26+
`text()` 交回内容并恢复该流;`process::resources` 给出本程序及其已回收子程序的处理器时间、最大常驻集与读写字节数。
27+
测试成员移到 0.4.1。
2528
- **mtest 0.4.1.** 四个包的 0.4.1(同一标签、同一归档):返回值的用例体不能通过编译;静态清单跨源文件读取
2629
项目自己的套件类型(`types_of`);标签选择 `a&b` 表示同时具有两个标签的用例。测试成员移到 0.4.1。
2730
- **mtest 0.4.0.** `mcpplibs.mtest`、`mcpplibs.mtest.gtest`、`mcpplibs.mtest.capi`、`mcpplibs.mtest.manifest` 的 0.4.0

‎pkgs/o/os.lua‎

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

3232
xpm = {
3333
linux = {
34+
["0.4.1"] = {
35+
url = {
36+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.1.tar.gz",
37+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.1/os-0.4.1.tar.gz",
38+
},
39+
sha256 = "149ecc26e79a6e4b1d9188c1e10ca67679ef683de2502e683c8ea6d74e093805",
40+
},
3441
["0.4.0"] = {
3542
url = {
3643
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",
@@ -136,6 +143,13 @@ package = {
136143
},
137144
},
138145
macosx = {
146+
["0.4.1"] = {
147+
url = {
148+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.1.tar.gz",
149+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.1/os-0.4.1.tar.gz",
150+
},
151+
sha256 = "149ecc26e79a6e4b1d9188c1e10ca67679ef683de2502e683c8ea6d74e093805",
152+
},
139153
["0.4.0"] = {
140154
url = {
141155
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",
@@ -241,6 +255,13 @@ package = {
241255
},
242256
},
243257
windows = {
258+
["0.4.1"] = {
259+
url = {
260+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.1.tar.gz",
261+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.1/os-0.4.1.tar.gz",
262+
},
263+
sha256 = "149ecc26e79a6e4b1d9188c1e10ca67679ef683de2502e683c8ea6d74e093805",
264+
},
244265
["0.4.0"] = {
245266
url = {
246267
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",

‎tests/examples/os/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "os-tests"
77
version = "0.1.0"
88

99
[dependencies.mcpplibs]
10-
os = "0.4.0"
10+
os = "0.4.1"
1111

1212
[indices]
1313
mcpplibs = { path = "../../.." }

0 commit comments

Comments
 (0)