Skip to content

Commit 3b3240e

Browse files
build(deps): mcpplibs.os ^0.3.1 for mcpp and the launchers it generates (C6)
The default series resolves openkal-platform 0.24.2. The single-file launcher moves from os 0.2.0, the Windows launcher from an exact 0.3.0. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 17d9cc1 commit 3b3240e

7 files changed

Lines changed: 24 additions & 9 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
- An edge that asks a resolved package for a feature its earlier edges did not
3030
ask walks that feature's `[feature-deps]` and forwards, so `-p s -p v` builds
3131
what `-p s` builds (#897, e2e 1019).
32+
- A build directory taken over by a new fingerprint of its configuration (an
33+
mcpp upgrade) keeps no compiler record of its predecessor: the completion
34+
certificates there named the predecessor's objects and failed the next
35+
build's admission ("cached compiler certificate does not name its own
36+
object") until `mcpp clean`. A certificate of another directory found at
37+
admission (a moved or restored directory) authorizes nothing and is dropped;
38+
the object is compiled again (e2e 1022).
39+
- `mcpp test` announces a dependency with its resolved version, as the build
40+
does, not the constraint (`v0.3.1`, not `v^0.3.1`; e2e 196).
3241

3342
- A finished detached compiler is recognized when its final status appears
3443
between status and liveness checks. Recovery still validates its output proof.
@@ -92,6 +101,12 @@
92101
`openkal-platform@^0.24`: its newest release whose `mcpp` floor this engine
93102
meets, kept in mcpp.lock until `mcpp update` (SPEC-013 §14, §15.1, e2e 1021).
94103
A platform patch no longer needs an mcpp release.
104+
It resolves to openkal-platform 0.24.2: openkal-llvm-runtime 0.19.2 keeps the
105+
volume of a name it normalizes, without which a Windows launcher over 0.24.1
106+
could not start its runner (e2e 988).
107+
- mcpp and the launchers it generates depend on mcpplibs.os `^0.3.1`, whose
108+
`os::fs` reads a name in the long spelling (`\\?\C:\...`) as the name it
109+
spells; the single-file launcher moves from os 0.2.0.
95110
- Headers are included only in the two system lock files
96111
(`.github/tools/check_include_regions.sh`): zlib, zstd and xz are their mwrap
97112
modules, JSON is nlohmann.json from the index (the copied json.hpp is gone),

‎mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ mcpplibs.cmdline = "0.0.1"
102102
# The operating system is mcpplibs.os's (design 2026-10-26 §25): mcpp keeps no
103103
# layer of its own.
104104
[dependencies.mcpplibs]
105-
os = "0.3.0"
105+
os = "^0.3.1"
106106

107107

108108
[target.linux.build]

‎modules/invocation/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ description = "The environment of one invocation of mcpp: statements over the st
1313
license = "Apache-2.0"
1414

1515
[dependencies.mcpplibs]
16-
os = "0.3.0"
16+
os = "^0.3.1"

‎modules/manifest/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ versioning = { path = "../versioning" }
2828
# state its contract in isolation; the root `tests/unit/` states the facts two
2929
# layers must agree on.
3030
[dependencies.mcpplibs]
31-
os = "0.3.0"
31+
os = "^0.3.1"
3232

3333
[dev-dependencies.compat]
3434
gtest = "1.15.2"

‎modules/toolchain-model/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ versioning = { path = "../versioning" }
2727
# state its contract in isolation; the root `tests/unit/` states the facts two
2828
# layers must agree on.
2929
[dependencies.mcpplibs]
30-
os = "0.3.0"
30+
os = "^0.3.1"
3131

3232
[dev-dependencies.compat]
3333
gtest = "1.15.2"

‎src/pack/distribution.cppm‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,9 @@ std::string exe_launcher_manifest(std::string_view name, std::string_view versio
10741074
"# Generated by `mcpp pack`: the Windows launcher of {0} (design 2026-10-29 §4.3).\n"
10751075
"[package]\nname = \"{0}\"\nversion = \"{1}\"\n\n"
10761076
"[targets.{0}]\nkind = \"bin\"\nmain = \"src/main.cpp\"\n\n"
1077-
"# The launcher uses the OS release selected by the current default\n"
1078-
"# platform (openkal-platform 0.24).\n"
1079-
"[dependencies.mcpplibs]\nos = \"0.3.0\"\n",
1077+
"# The OS library as a compatible range: the build's graph, and its\n"
1078+
"# platform's version group, choose the release (design 2026-11-07, A3).\n"
1079+
"[dependencies.mcpplibs]\nos = \"^0.3.1\"\n",
10801080
name, version.empty() ? std::string_view("0.0.0") : version);
10811081
}
10821082

@@ -1422,7 +1422,7 @@ std::string launcher_manifest(std::string_view name, std::string_view version) {
14221422
"[package]\nname = \"{0}\"\nversion = \"{1}\"\n\n"
14231423
"[targets.{0}]\nkind = \"bin\"\nmain = \"src/main.cpp\"\n\n"
14241424
"[build]\nsources = [\"src/main.cpp\", \"src/carried.S\"]\n\n"
1425-
"[dependencies.mcpplibs]\nos = \"0.2.0\"\n\n"
1425+
"[dependencies.mcpplibs]\nos = \"^0.3.1\"\n\n"
14261426
"[dependencies]\n\"mcpplibs.mwrap.zstd\" = \"1.5.7\"\n",
14271427
name, version.empty() ? std::string_view("0.0.0") : version);
14281428
}

‎tests/unit/test_pack_distribution.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ TEST(PackDistribution, TheWindowsLauncherIsAProgram) {
261261
EXPECT_NE(src.find("(\"windows-\" + arch)"), std::string::npos) << src;
262262
EXPECT_NE(src.find("os::process::exec"), std::string::npos) << src;
263263
const auto manifest = d::exe_launcher_manifest("hello", "1.0.0");
264-
EXPECT_NE(manifest.find("os = \"0.3.0\""), std::string::npos) << manifest;
264+
EXPECT_NE(manifest.find("os = \"^0.3.1\""), std::string::npos) << manifest;
265265
EXPECT_NE(manifest.find("[targets.hello]"), std::string::npos) << manifest;
266266
}
267267

0 commit comments

Comments
 (0)