summaryrefslogtreecommitdiff
path: root/build/snap.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 16:24:25 -0300
committerGabriel Schneider <[email protected]>2026-11-04 16:24:25 -0300
commitbe3985092df1c3388cfa09ca5e989d2fa66f55ec (patch)
treea45695a2f486e4cb55789940ff9c5d15460efdeb /build/snap.zig
parentb3ef9fb0be86471973331d409adf641beb63e685 (diff)
downloadpardes-be3985092df1c3388cfa09ca5e989d2fa66f55ec.tar.gz
pardes-be3985092df1c3388cfa09ca5e989d2fa66f55ec.zip
test: the process runner's held connection and options, for the Python ports: process.Conn, one blocking 9P2000 connection over a unix socket on cloud9's client (walk, hold, readFid, writeFid, clunk, read, write, remove, stat, list), the last refusal's words in said; Detached.Options (args before the file, the file, more environment, a root shared with another session, the socket's name) and put, get, signal, exited (the wait word), socket; a second process test drives the held connection against a real session
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'build/snap.zig')
-rw-r--r--build/snap.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/snap.zig b/build/snap.zig
index 14e0aef3..407463bc 100644
--- a/build/snap.zig
+++ b/build/snap.zig
@@ -28,6 +28,7 @@ pub fn addTty(b: *std.Build, opts: struct {
ninep_client.addOptions("9p_options", ninep_options);
ninep_client.addImport("cloud9", opts.cloud9);
snap.root_module.addImport("9p_io", ninep_client);
+ snap.root_module.addImport("cloud9", opts.cloud9);
switch (opts.target.result.os.tag) {
.freebsd, .netbsd, .openbsd => snap.root_module.linkSystemLibrary("util", .{}),
else => {},
@@ -54,6 +55,7 @@ pub fn addTty(b: *std.Build, opts: struct {
});
if (opts.ghostty_vt) |vt| process_test.root_module.addImport("ghostty-vt", vt);
process_test.root_module.addImport("9p_io", ninep_client);
+ process_test.root_module.addImport("cloud9", opts.cloud9);
switch (opts.target.result.os.tag) {
.freebsd, .netbsd, .openbsd => process_test.root_module.linkSystemLibrary("util", .{}),
else => {},