Commit graph

4 commits

Author SHA1 Message Date
19798976c6
build(nixos): build the workspace once with Servo embedded for the VM
The shells were packaged without servo-embed, so the VM's system shell
had no rendering engine, and each package compiled the workspace on its
own. One cargo build now produces every binary with Servo enabled,
links the prebuilt SpiderMonkey archive instead of compiling it, fills
in the Servo source hash, installs the UI kit the shells inject, and
adds the libraries Servo and winit open at run time to the shells' rpath.

Not yet validated: the Nix build is still running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QS8QcxvhVJwU3X2qhPamUW
2026-10-11 08:44:16 +00:00
294bd163b9 build(nix): use Rust 1.93.0 via rust-overlay for all package builds
Add oxalica/rust-overlay flake input; override rustPlatform in
weft-packages.nix with cargo/rustc from rust-bin.stable.1.93.0;
apply overlay in both devShell and nixosConfigurations.weft-vm.
Fixes build failure where nixos-25.05 Rust 1.86.0 was below the
rust-version requirement of wasmtime and other dependencies.
2026-03-12 21:28:14 +01:00
f6cefeeccc build(nix): switch to nixos-25.05 for Rust 1.87 edition2024 support 2026-03-12 21:19:11 +01:00
e3504c324b feat(infra): NixOS VM config, CI type-check job, documentation
- flake.nix, infra/nixos/: NixOS VM with Mesa, virtio-gpu, Wayland,
  systemd user services for compositor and session supervisor
- infra/vm/: QEMU build and run scripts
- .github/workflows/ci.yml: add Linux job to type-check weft-servo-shell
  and weft-app-shell with --features servo-embed
- docs/architecture.md, docs/security.md, docs/building.md: replace
  stale pre-implementation design documents
- README.md: rewrite to reflect current codebase
- crates/weft-servo-shell/SERVO_PIN.md: update implementation status and add
  SpiderMonkey process boundary statement
2026-03-12 20:03:25 +01:00