Skip to content

fix(libc): include <thread> in the run report - #16795

Closed
wanderingbug wants to merge 1 commit into
boykopovar:mainfrom
wanderingbug:cursor/macos-runreport-thread-include-e22f
Closed

wanderingbug wants to merge 1 commit into
boykopovar:mainfrom
wanderingbug:cursor/macos-runreport-thread-include-e22f

Conversation

@wanderingbug

@wanderingbug wanderingbug commented Nov 7, 2026 •

Copy link
Copy Markdown

Apple libc++ does not declare std::thread through the headers this file already includes, so the guest shutdown and thread builds stop before their tests run.

What

Open #16801 (fix/macos-test-compile, 38bddbff44) edits only ResourceRequest.cpp, RtcpTransportFeedback.cpp, and GuestCesGbSetters.cpp: <initializer_list> and ResourceRequestBase value initialization. None of those symbols are in this pull request.

RunReport.cpp uses std::thread. The added line is #include <thread>.

Tested

In the same cache-reuse run, guest_shutdown_abandoned and guest_thread_self both exited 0 after this file was in the tree. Published 9e80623f4c is the same patch as tested overlay 671d12cf, replayed cleanly onto dd00a9c54e. That published SHA was not rebuilt on the Mac. Not tested on a second machine; no game tested.

Checklist

Apple libc++ does not declare std::thread through the headers this
file already includes, so the guest shutdown and thread builds stop
before their tests run.

Co-authored-by: devindevsec <devindevsec@users.noreply.github.com>
@github-actions github-actions Bot added the libc label Nov 7, 2026

@gabichuuuuu gabichuuuuu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked 9e80623f4c: RunReport.cpp uses std::thread (:1308) and didn't include <thread>, relying on another header to bring it in, which Apple's libc++ doesn't. The added include is the right fix, and harmless elsewhere.

AI-assisted: yes.

@adriadam10

Copy link
Copy Markdown
Collaborator

Closing: main already has #include <thread> in core/libs/prx/libc/src/RunReport.cpp (line 18, added by 82c4d63), so this branch merged onto current main changes nothing. Feel free to reopen if there is a remaining difference.

@adriadam10 adriadam10 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants