The JIT that runs makepad apps from source: lexer, front end, type checker, lazy borrow checker (Gandalf; `--check-first` opts in), codegen, session and warm/cold caches keyed by compiler stamp, provided crates bound late, startup images, live patching. User-facing name is `makepad run` (binary `makepad`, MAKEPAD_RUN_* env, ~/.makepad-run); libs/relax stays the internal library name. `makepad check` reports rustc-style diagnostics with rustc error codes and checks a whole workspace (`--workspace`). Runs on macOS, Linux, Windows and Android. makepad-remote: one tool schema for apps and the WM (app/1): grabs, captures, traces, frame profiles and tweaks. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
7 lines
606 B
Bash
Executable file
7 lines
606 B
Bash
Executable file
#!/bin/bash
|
|
# usage: run.sh <makepad binary>: `makepad check` (every fn compiled, drop glue included) of a crate whose
|
|
# enum without variants is held behind Arc; prints "empty_enum_glue: ok" or "empty_enum_glue: FAILED" (exit 1).
|
|
H=$(cd "$(dirname "$0")" && pwd)
|
|
export MAKEPAD_RUN_CACHE=off
|
|
OUT=$(cd "$H" && MAKEPAD_RUN_STD=$H/../../std MAKEPAD_RUN_WORKSPACE=$H "$1" check --no-serve empty-enum-glue 2>&1)
|
|
if echo "$OUT" | grep -q "0 errors"; then echo "empty_enum_glue: ok"; else echo "$OUT" | grep -v '^relax-\|^makepad \(run\|check\|live\|fix\):' | head -5; echo "empty_enum_glue: FAILED"; exit 1; fi
|