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
740 B
Bash
Executable file
7 lines
740 B
Bash
Executable file
#!/bin/zsh
|
|
# Regression test: a provided crate that only an app domain brings (the fixture, which the primary
|
|
# app does not depend on) must have its #[relax_api] ops bound, not compiled from source. The
|
|
# fixture's asm op fails to compile ("inline assembly is not supported") when it is not bound.
|
|
# Run from the workspace root after `cargo build --release -p makepad-run -p relax-provided-fixture`.
|
|
out=$(MAKEPAD_HAL_BACKEND=offscreen MAKEPAD_HIDE_WINDOWS=1 perl -e 'alarm 420; exec @ARGV' target/release/makepad run makepad-example-counter --domain relax-provided-fixture 2>&1)
|
|
echo "$out" | grep -q "^asm 42" && ! echo "$out" | grep -q "inline assembly is not supported" && echo "late_bind: ok" || { echo "late_bind: FAILED"; exit 1; }
|