diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/design.md b/docs/design.md index d8d55c4..d12b92c 100644 --- a/docs/design.md +++ b/docs/design.md @@ -66,6 +66,20 @@ identity verification must provide that policy before using it across a trust boundary. OpenSSL allocations and handshake costs are outside the allocation-free protocol core. Accepted connections must close before their shared listener. +# Related programs + +Programs built on the library ship from this repository in sibling +directories of `src/` (`introspect/`, `9player/`), never inside it: each has +its own `src/`, `test/`, `docs/`, README and a `build.zig` fragment +(`pub fn add(b, ctx)`) that the root `build.zig` imports, passes the resolved +target, optimize mode and the `cloud9` module to, and enables with a +`-D<name>` toggle. Fragments register namespaced steps (`<name>`, +`<name>-test`, ...), never call `standardTargetOptions`, and use root-relative +`b.path("<name>/...")`. The library keeps its contract: mounting, namespaces, +threads, allocation and process policy stay in the program. `introspect` is +also exported as a module next to `cloud9` for dependents. New related +programs follow this layout. + # Pardes integration Pardes consumes the sibling package through build.zig.zon. Its `src/9p.zig` now |
