Remove the Rust host (host-wasm)
CI / test (push) Canceled after 0s

The MoonBit host (wasmhost/, build/wasmhost) is the only host now. Gone:
host-wasm/ (Rust on the wasmtime crate, ~5,700 lines incl. Cargo.lock),
the run-rust, run-drm-rust and host-wasm recipes, and `just install --rust`
(both the recipe and session/install.py now stop with an error naming the
removal instead of quietly ignoring the flag). remote-build.sh builds and
pulls build/wasmhost. README, wasmhost/README and docs no longer describe a
second host, apart from short history notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiBxpbLoeUM9xfZayq
This commit is contained in:
Claude committed 2026-11-26 04:19:19 +00:00
1 parent 024f18ce61
commit 41c6ec1135
31 files changed
+59 -5827

No files matched your search

+3 -3
View File
@@ -113,7 +113,7 @@ starting with `ok` or `error`. Several commands may be sent on one connection.
The compositor handles the socket in its main loop (`compositor/host/control.mbt`, from
`ChandraCompositor::step`), and the listening socket and its clients are among the fds the idle
loop waits on, so an idle desktop still sleeps (about 0.4% CPU, unchanged) and wakes for a
command. It is the same code on the MoonBit host, the Rust host and the native build.
command. It is the same code on the MoonBit host and the native build.
## Not reloadable
@@ -125,7 +125,7 @@ WM, portal backend or host need a new session: log out and back in.
## Status
Tested headless on both hosts (`build/wasmhost` and `host-wasm`) with the modules from
`build/components`: `ping`, `list`, `reload`, `reload NAME`, a module replaced by a broken file
Tested headless on `build/wasmhost` (and on the Rust host, since removed) with the modules
from `build/components`: `ping`, `list`, `reload`, `reload NAME`, a module replaced by a broken file
(reported, old instance kept), SIGUSR1, and idle CPU before and after. Tests:
`compositor/host/control_test.mbt`. Not yet run against an installed login session.