North Star 2: phpc doctor --selfhost + HelloWorld M3 emit TU - #2074
Merged
Conversation
Add phpc doctor --selfhost for M2/M3/M4 bootstrap gate discovery (#2053). Wire helloworld_m3_emit_native_entry.php and align helloworld-probe with the compile-smoke emit-helper pattern (#1768, #1493). Document emit-TU ladder in bootstrap-selfhost.md and bootstrap-m5-fast-path.md. Closes #2053 Contributes to #1492, #1056, #1768 Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
phpc doctor --selfhost— dedicated North Star 2 gate ladder (inventory, M2 spine sync, M3 emit probes, presenter, M4 loop, LLVM) without the MiniWebApp gate noise (DevEx: phpc doctor --selfhost — dedicated gate ladder for North Star 2 #2053).helloworld_m3_emit_native_entry.phpand rewirebootstrap-selfhost-helloworld-probe.shto use the same native emit-TU pattern as compile-smoke (Self-host M3: compile-driver real lowering symbol batch tracker #1768, M3: BOOTSTRAP_M3_HELLOWORLD_STRICT — native HelloWorld emit (no Zend fallback) #1493). Nativeemit_path=nativeremains blocked on emit-TU runtime init (documented); Zend partial fallback still green.bin/compile.phpauto-flags for the HelloWorld emit entry.Closes #2053
Contributes to #1492, #1056, #1768
Test plan
vendor/bin/phpunit --filter PhpcDoctorTest::testDoctorSelfhostvendor/bin/phpunit --filter BootstrapSelfhostHelloWorldTest./script/bootstrap-selfhost-helloworld-probe.sh(partialemit_path=zend, HelloWorld run OK)phpc doctor --selfhost | grep BOOTSTRAP_./script/ci-local.shLLVM tail (maintainer)Made with Cursor