From 5f32c68c67419fa3bc8e530ee40ad55230bcf56c Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Tue, 10 Nov 2026 23:09:49 +0900 Subject: [PATCH] 0.6.1: openkal-run's default implementation on FreeBSD is openkal-freebsd openkal-run names openkal-freebsd ^0.1.0 under cfg(os = "freebsd") in its [defaults], so okrun is built for x86_64-freebsd over the system's own C library (openkal-freebsd hosted) as well as for x86_64-freebsd-musl, whose graph already holds openkal-freebsd standalone. Measured: okrun of both routes runs an ok image in a FreeBSD 14.5 VM. Every member is 0.6.1. --- README.md | 7 +++++++ bind/mcpp.toml | 2 +- ld/mcpp.toml | 2 +- run/mcpp.toml | 3 ++- tools/mcpp.toml | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d9e8dd4..2c06b2f 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,13 @@ generated from the specification's SURFACE.txt, so the names 0.25 adds sources. The package follows openkal 0.25 (openkal-linux 0.26, openkal-macos 0.23, openkal-windows 0.21). +Version 0.6.1 names openkal-freebsd as the default on FreeBSD +(`cfg(os = "freebsd")`), so the runner is built for both of that system's +identities: over FreeBSD's own C library (`-freebsd`, a platform that +states the system's base), where openkal-freebsd is hosted, and over +openkal-musl (`-freebsd-musl`), whose graph already holds openkal-freebsd +standalone. No other change. + ## An image ```sh diff --git a/bind/mcpp.toml b/bind/mcpp.toml index 0a07aec..a9c555c 100644 --- a/bind/mcpp.toml +++ b/bind/mcpp.toml @@ -1,7 +1,7 @@ [package] namespace = "mcpplibs" name = "openkal-bind" -version = "0.6.0" +version = "0.6.1" # `mcpp::xpkg_request', `mcpp::decision' (protocol 15). mcpp = ">=2026.10.1.3" description = "A build plugin: a library published as an ok image (.okso) and a C header is called from a program of any system, through a binding generated from the header and libokrun." diff --git a/ld/mcpp.toml b/ld/mcpp.toml index 9d77baa..b3583f7 100644 --- a/ld/mcpp.toml +++ b/ld/mcpp.toml @@ -1,7 +1,7 @@ [package] namespace = "mcpplibs" name = "openkal-ld" -version = "0.6.0" +version = "0.6.1" description = "libokld: the ok format (openkal image format) --- its definition, a reader of bytes, a checker, a signer, and a loader. Freestanding: no C library, no exceptions." license = "Apache-2.0" authors = ["mcpplibs"] diff --git a/run/mcpp.toml b/run/mcpp.toml index 87f3a36..66163ce 100644 --- a/run/mcpp.toml +++ b/run/mcpp.toml @@ -1,7 +1,7 @@ [package] namespace = "mcpplibs" name = "openkal-run" -version = "0.6.0" +version = "0.6.1" description = "libokrun: the runner's core --- an ok image's names bound to this process's one openkal implementation, in the image's calling convention, and its entry entered." license = "Apache-2.0" authors = ["mcpplibs"] @@ -25,6 +25,7 @@ openkal-ld = { path = "../ld" } linux = "openkal-linux@^0.26.0" macos = "openkal-macos@^0.23.0" windows = "openkal-windows@^0.21.0" +'cfg(os = "freebsd")' = "openkal-freebsd@^0.1.0" # THE INTERFACES THE RUNNER ITSELF CALLS (0.6): an implementation that does not # provide one of them is refused when the graph is resolved. Every other diff --git a/tools/mcpp.toml b/tools/mcpp.toml index cafd238..d377004 100644 --- a/tools/mcpp.toml +++ b/tools/mcpp.toml @@ -1,7 +1,7 @@ [package] namespace = "mcpplibs" name = "openkal-tools" -version = "0.6.0" +version = "0.6.1" description = "okrun, which runs an ok image on this system, and okld, the format's tool on a build machine (check, note, sign, inspect)." license = "Apache-2.0" authors = ["mcpplibs"]