Skip to content

Build for illumos, and keep customer identifiers out of the repo - #9

Merged
oetiker merged 1 commit into
mainfrom
feat/illumos-support
Jul 27, 2026
Merged

Build for illumos, and keep customer identifiers out of the repo#9
oetiker merged 1 commit into
mainfrom
feat/illumos-support

Conversation

@oetiker

@oetiker oetiker commented Jul 27, 2026

Copy link
Copy Markdown
Member

illumos support

eDAPtor now cross-compiles for x86_64-unknown-illumos (OmniOS and friends),
using the official cross-rs image. Verified end to end: the binary was built,
installed on an illumos host, and runs there against a live OpenLDAP 2.4.48
directory (edaptor check returns a full subschema).

  • Cross.toml gains the target. The image tag is pinned while the musl
    targets float on :main — deliberate, and commented so it isn't "fixed".
  • Cargo.toml selects tvision-rs per target: illumos takes
    default-features = false, every other platform is untouched. This is needed
    because the default os-clipboard feature pulls
    arboard -> wl-clipboard-rs -> wayland-backend, and Wayland does not compile
    on illumos. The OSC 52 clipboard rung remains — the one that actually works
    over ssh, which is how a TUI on such a host is driven anyway.
  • release.yml gains the target. RUSTFLAGS moves into the matrix so each
    target carries its own: the two musl targets keep
    -C target-feature=+crt-static, illumos gets none. illumos has no static libc,
    so the previous blanket flag would have broken it.

No .rs behaviour changes. make check is green (fmt, clippy -D warnings, tests).

Customer identifiers

A customer's directory identifiers had reached tracked files — including the
published mdBook and a unit test — even though the corresponding config file
was already in .gitignore for exactly that reason. This removes them and adds
the second such config to .gitignore.

docs/controller-handoff.md is deleted rather than sanitized: it was entirely
customer-operational (host names, deploy recipes, config paths). Its content has
been migrated to a private wiki, and CLAUDE.md already calls for a fresh
handoff to be written at each rollover.

Note: these identifiers have been in this repository's history since
da12534, so they are already public. This PR stops the bleeding; it does not
and cannot rewrite what is already published.

🤖 Generated with Claude Code

Adds x86_64-unknown-illumos as a cross-compilation target (official
cross-rs image) and to the release matrix. tvision-rs's os-clipboard
feature is dropped on illumos only, because arboard pulls in Wayland,
which does not build there; the OSC 52 clipboard path remains, which is
the one that works over ssh anyway.

Also removes a customer's identifiers from tracked files. They had
reached the published mdBook and a unit test, while the corresponding
config file was already gitignored for exactly that reason. The stale
controller handoff was entirely customer-operational and is dropped;
its content moves to a private wiki.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@oetiker
oetiker merged commit cebf5b7 into main Jul 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant