Skip to content

M2 spine: push compiler_lib_spine_smoke to 300 units (#1056, #1419)#1479

Merged
PurHur merged 1 commit into
masterfrom
feat/m2-spine-300-push
May 24, 2026
Merged

M2 spine: push compiler_lib_spine_smoke to 300 units (#1056, #1419)#1479
PurHur merged 1 commit into
masterfrom
feat/m2-spine-300-push

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 24, 2026

Summary

Gates

  • script/apply-patches.sh
  • php bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
  • vendor/bin/phpunit test/unit/BootstrapSelfhostBundleTest.php
  • make bootstrap-aot-link ✅ (71/71)
  • BOOTSTRAP_LIB_SPINE_SMOKE=1 make bootstrap-selfhost-lib-spine-smoke — tracked in 🔄 North Star 2: Compiler fully compiles itself (living tracker) #1056 (wrapper units may need self-host stub follow-up)

Test plan

  • Bundled AOT lint green at 300 units
  • BootstrapSelfhostBundleTest count + key units
  • bootstrap-aot-link 71/71
  • Native lib-spine-smoke link/run (follow-up if IncludeHelper fires on wrapper JIT)

Made with Cursor

Add 16 lint-clean Vm* handlers and 9 stdlib wrapper units; fix intersection-type docblocks and TYPE_DECLARE_INTERFACE self-host JIT stub; resolve Compiler.php enum/interface merge; defer src shims that break bundled define() during AOT compile.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 3e7477e into master May 24, 2026
PurHur added a commit that referenced this pull request May 24, 2026
…1056) (#1482)

Remove phantom is_int/is_string requires that fall through to dynamic
include opcodes, stub Compiler/AOT units during self-host AOT, and no-op
TYPE_DECLARE_INTERFACE lowering so the 299-unit spine bundle links again.

Co-authored-by: PurHur <PurHur@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
PurHur added a commit that referenced this pull request May 24, 2026
Guard cli.php vendor/autoload and argv driver when PHP_COMPILER_CLI_SPINE_BUNDLE=1,
re-add src/ compat shims lost after #1479, and fix VM readonly docblock for php-types AOT lint.
Spine grows 299→304 units; native link gate passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant