The experimental direct backend now writes and reads an opt-in revision-28 ZX container that holds verified lowered instructions. Stripped files run through the portable engine without source or semantic IR. Bounded validation covers framing, identities, symbols and reachability, and versions 26/27 are rejected with a rebuild diagnostic. Default ziran/zi2zx output is unchanged. Address-taken local scalars lower to fresh checked frame storage in the portable engine and native x86-64, including aliases across calls and recursion and stale-token traps. A verified target-neutral machine IR keeps Allocate as an explicit effectful operation ahead of register allocation. ASSEMBLY/milestones.md reviews the ten-step plan and reorders delivery around a Linux x86-64 vertical slice. It starts with an Alpha physical-host baseline and adds staged interim comparisons. Plan statuses now match the implementation.
10 lines
371 B
Bash
10 lines
371 B
Bash
#!/bin/sh
|
|
set -eu
|
|
ziran=${1:?pass the ziran command}
|
|
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
output="$repo/build/executable-bundle-test"
|
|
"$ziran" build --target=c --exe --entry executable_bundle_cases:main \
|
|
--root "$repo/tests" --module-path "$repo/cmd" -o "$output" \
|
|
"$repo/tests/executable_bundle_cases.zi"
|
|
exec "$output/executable_bundle_cases"
|