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
+6
-6
@@ -5,7 +5,6 @@ run0 and falls back to sudo, doas or pkexec). Running it is idempotent: it repla
|
||||
|
||||
just install # the compositor as a wasm component on the MoonBit host
|
||||
just install --link # dev: symlink into this checkout (see below)
|
||||
just install --rust # the wasm compositor on the Rust host (host-wasm)
|
||||
just install --native # the native compositor instead
|
||||
just install --pam # also turn face unlock on for polkit-1 and sudo
|
||||
just install --no-face # leave face unlock out
|
||||
@@ -45,11 +44,12 @@ root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
native = "--native" in sys.argv
|
||||
linked = "--link" in sys.argv
|
||||
exe = os.path.join(root, "_build/native/release/build/compositor/bin/bin.exe")
|
||||
rust_host = "--rust" in sys.argv or "--rust-host" in sys.argv
|
||||
# The host that runs the compositor component: the MoonBit one (just wasmhost), or the Rust
|
||||
# one (just host-wasm) with --rust. Either is installed as chandra-host.
|
||||
host_build = "just host-wasm" if rust_host else "just wasmhost"
|
||||
host = os.path.join(root, "host-wasm/target/release/chandra-host" if rust_host else "build/wasmhost")
|
||||
if "--rust" in sys.argv or "--rust-host" in sys.argv:
|
||||
sys.exit("install.py: --rust is gone: the Rust host (host-wasm) was removed on 2026-11-26; "
|
||||
"the MoonBit host (build/wasmhost) is the only one, so drop the flag")
|
||||
# The host that runs the compositor component (just wasmhost), installed as chandra-host.
|
||||
host_build = "just wasmhost"
|
||||
host = os.path.join(root, "build/wasmhost")
|
||||
component = os.path.join(root, "build/compositor.wasm")
|
||||
share = "/usr/local/share/chandra"
|
||||
targets = [
|
||||
|
||||
Reference in new issue
Block a user