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:
31 files changed
+59
-5827
No files matched your search
@@ -97,9 +97,8 @@ is reported and the running instance stays (see [reloading.md](reloading.md)).
|
||||
|
||||
## Hosts
|
||||
|
||||
All three module hosts serve desktop modules: the native compositor and the MoonBit
|
||||
`build/wasmhost` (both through `compositor/wasm/wasm_stub.c`) and the Rust `host-wasm`
|
||||
(`src/plasmoid.rs`, bound with the `desktop-export` world). The compositor-as-wasm reaches them
|
||||
Both module hosts serve desktop modules: the native compositor and the MoonBit
|
||||
`build/wasmhost`, both through `compositor/wasm/wasm_stub.c`. The compositor-as-wasm reaches them
|
||||
through `desktop-backdrop`, `desktop-scroll`, `desktop-tick` and `publish-desktop` in
|
||||
`wit/host/plasmoids.wit`. The settings module reads the list through the `wallpaper`
|
||||
capability's `desktops`, `current-desktop` and `set-desktop` (`wit/capabilities.wit`).
|
||||
@@ -115,5 +114,5 @@ XDG_CONFIG_HOME=$(mktemp -d) CHANDRA_TEST_CONFIG=1 \
|
||||
moon test --target native --warn-list -a -p chandra/desktop/compositor/host --filter "*desktop*"
|
||||
```
|
||||
|
||||
Also checked headless on `build/wasmhost` and `host-wasm` (`--gfx-out`) with `:desktop` set in
|
||||
Also checked headless on `build/wasmhost` (`--gfx-out`) with `:desktop` set in
|
||||
state.edn.
|
||||
Reference in new issue
Block a user