Skip to content

Self-host: lower LinkerProcessPolyfill::run via phpc_run_command - #2955

Merged
PurHur merged 1 commit into
masterfrom
agent/selfhost-linkerprocesspolyfill-run
May 28, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/selfhost-linkerprocesspolyfill-run

Conversation

@PurHur

@PurHur PurHur commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Lowers PHPCompiler\\AOT\\LinkerProcessPolyfill::run() to the internal phpc_run_command builtin during native AOT/JIT compilation, avoiding reliance on proc_open lowering.
  • Adds a small bootstrap AOT lint fixture that exercises the polyfill call path.

Test plan

  • ./script/docker-exec.sh -- bash -lc 'php script/bootstrap-aot-lint.php'
  • ./script/docker-exec.sh -- bash -lc 'make bootstrap-selfhost-helloworld'
  • ./script/docker-exec.sh -- bash -lc 'make bootstrap-selfhost-full-revision-probe'

Refs #2779.

Made with Cursor

Make native AOT/JIT lowering map LinkerProcessPolyfill::run() to the internal
phpc_run_command builtin so bin/compile.php link-time process capture does not
depend on proc_open lowering.

Refs #2779.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 1c60481 into master May 28, 2026
@PurHur
PurHur deleted the agent/selfhost-linkerprocesspolyfill-run branch May 28, 2026 08:53
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