Repository navigation
Conversation
The compiler bootstraps from BOOTSTRAP_VERSION (#112), so the seed has no consumer left. Removed: bin/compile, tools/compile_files_mir.php, bin/build --seed/--auto-seed, gate.sh MC_ZEND_SEED, install.sh's Zend fallback, and the dead tools composer_data_smoke.sh, typecheck_scan.sh, split_ll.php, docker/iopoll/diag.sh, docker/symfony_probe.sh. selfhost_stability.sh rebuilds through the manifest path instead of Zend; composer.json drops the php requirement (the installer downloads the release or builds from the pin). Docs: every guide, README and design note audited against the tree — seed instructions removed or marked historical, ABI references point at MemoryAbi::VERSION (18), memory-abi.md gains the 64-byte descriptor (json_fn), the v14 BIGINT box and the v18 native buffer block, pass tables gain NarrowScalarGuards, ResolveMethodFcc, ResolveOverloads, SpillFreshBases and OwnershipFlow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Since #112 the compiler bootstraps from the pinned release (
BOOTSTRAP_VERSION). Nothing consumes the Zend cold seed any more, and keeping it alive would tiesrc/to what php can run — the thing #105 set out to remove.What changes
Removed
bin/compile,tools/compile_files_mir.phpbin/build --seed/--auto-seed,gate.shMC_ZEND_SEEDinstall.shcomposer_data_smoke.sh,typecheck_scan.sh,split_ll.php,docker/iopoll/diag.sh,docker/symfony_probe.shChanged
tools/selfhost_stability.shrebuilds through the manifest path (whatbin/builduses) instead of Zend. The one-moduletools/selfhost.shstays:selfhost_fixpoint.shuses it.composer.jsondrops"php": ">=8.5"— the compiler needs no php.create-project/vendor/bin/manticore-installstill runinstall.sh, which downloads the release tarball for the host, or builds from source starting from the pin.tools/compile_user_mir.php).Docs — audited every guide, README and design note against the tree:
MemoryAbi::VERSION(18) instead of stale literals;memory-abi.md: descriptor is 64 bytes (json_fn@56), new §7c for the v14 BIGINT box and the v18 native buffer block;lower_module;src/main.phpentry, Stdlib 55 files, EmitLlvm 15 traits, external libs);xfail.sh/file_bug.sh.New design notes (
docs/design/):ownership-flow.md(OwnershipFlow, #15/#104),native-buffers.md(nbuf runtime behind SplFixedArray /Manticore\Ds, #108),stage0-bootstrap.md(the pin, the two-step rule, what needs a raise).Verification
phpstubbed to fail:bin/buildbootstraps from 0.13.0 through two generations, zero php calls.tools/selfhost_stability.sh 1: manifest + one-module rebuilds both smoke-clean.Stacked on #112 (base
stage0); retarget tomainafter #112 merges.