docs: document macOS Metal toolchain and cross-platform build prerequisites

This commit is contained in:
2026-07-10 15:56:18 -04:00
parent 02ddd67078
commit 9547f75582
2 changed files with 38 additions and 0 deletions
+8
View File
@@ -26,6 +26,14 @@ Servo pin: git rev in `Cargo.toml` `[workspace.dependencies]`; the whole
engine (55 crates) moves with that one rev. Keep
`docs/servo-embedding-architecture.md` pin reference in sync.
## Run
`scripts/run_dev.sh <url>` is the dev entrypoint: it builds the Servo sidecar,
wires `ELY_SERVO_SIDECAR`, picks the hardware (macOS) or software (Linux/Windows)
rendering context, and on macOS resolves a Metal-capable `DEVELOPER_DIR` (raw
`cargo run` under Command Line Tools fails at gpui's `xcrun metal` shader build —
see README Build Prerequisites). Screenshot probe: `scripts/verify_render.sh`.
## Verify (all must pass before commit; capture real exit codes)
```