You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce0aeb7
Browse filesBrowse the repository at this point in the historyBrowse files
emit xpkg: a one-leg package is described for the system its program runs on; a carrier package records its carrier
Review of #859: the rule refused every one-leg ok-image package, and a package that carries its image in the carrier (--no-universal --mode self-contained or static) is a program of the carrier's system: on Linux, a static Linux program of the image's architecture. It was described under linux before, and refusing it was a regression.
- mcpp-package.json `systems` (and the mcpp.pack envelope's, through one function, mcpp::pack::carried_systems) records the carrier of a one-leg self-contained ok-image package as the loader it carries: `<this system>-<image arch>`, e.g. ["linux-aarch64"]. It was empty, so the system was not a fact a reader could take.
- emit xpkg describes a one-leg package for the system and architecture of its program (program_host): the triple's for a Linux (not Android), macOS or Windows target, the recorded carrier's for an ok image. It refuses only packages whose program is no program of a system: wasm, Android and iOS applications, bare metal, and an ok image without its carrier (route: the universal package, or a package that carries it).
- SPEC-014 §4.5 and §8, criterion 9; docs/10 and docs/50 with docs/zh; CHANGELOG; the design record's rev 2.
- Unit XpkgDescriptorDescribesProgramsOfASystem: a one-leg x86_64-openkal carrier package packed on Linux is described under linux with arch x86_64, an aarch64 one packed on macOS under macosx, a carrier-less one is refused. e2e 961 C: the package's systems, its entry under this system for the image's architecture, and the refusal of the vendored image package.
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/50-machine-output.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -730,7 +730,7 @@ to stderr, including what the build programs and tools the pack starts print.
730
730
|`artifacts`| one record per produced artifact: `path` (absolute), `type` (`file` or `directory`), `format` (the container: the `--pkg-format` value; when none is given, `zip` for a Windows program and `tar` otherwise), `targets` (the canonical triple of each leg that went into it) and `sha256` (a file's digest; `null` for a directory; 2026.10.27.1+). A dispatched format reports the terminal outputs of the actions the request introduced; a several-`--target` Android pack reports one artifact whose `targets` lists every leg |
731
731
|`stage`| the tree the artifact was made from: `dir`, `manifest` (the stage manifest below) and `closure` (`walked` or `not-walked`); `null` for a library package, when no tree was staged, and for a pack of several members |
732
732
|`linkage`, `mode`, `pkgFormat`*(2026.10.27.1+)*| the three choices of the pack ([10](10-pack-and-release.md)): `linkage` is `static`, `shared` or `declared`; `pkgFormat` is the `format` of the artifacts (`tar`, `zip`, `dir`, `single-file`, or a provided format) |
733
-
|`legs`, `systems`*(2026.10.27.1+)*| the canonical triple of each leg (a universal package lists every target of its platform), and the `<os>-<arch>` of each runner a self-contained universal package carries |
733
+
|`legs`, `systems`*(2026.10.27.1+)*| the canonical triple of each leg (a universal package lists every target of its platform), and the `<os>-<arch>` of each runner a self-contained universal package carries, or of the carrier that is the program of a self-contained package of one ok image (2026.10.29.1+)|
734
734
|`stages`*(2026.10.1.1+)*| present only for a pack of several members (`--workspace`, or `-p` repeated): one record per member in `[workspace] members` order, with `member` (the qualified package name) and the `dir`, `manifest` and `closure` of `stage`|
735
735
736
736
For a pack of several members `artifacts` lists every member's artifacts, in the
0 commit comments