Repository navigation
fix(libc): include <thread> in the run report - #16795
Closed
wanderingbug wants to merge 1 commit into
Closed
wanderingbug wants to merge 1 commit into
wanderingbug wants to merge 1 commit into
Conversation
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>
gabichuuuuu
reviewed
Nov 7, 2026
gabichuuuuu
left a comment
Contributor
There was a problem hiding this comment.
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.
Merged
12 tasks done
Collaborator
|
Closing: |
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.
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 onlyResourceRequest.cpp,RtcpTransportFeedback.cpp, andGuestCesGbSetters.cpp:<initializer_list>andResourceRequestBasevalue initialization. None of those symbols are in this pull request.RunReport.cppusesstd::thread. The added line is#include <thread>.Tested
In the same cache-reuse run,
guest_shutdown_abandonedandguest_thread_selfboth exited 0 after this file was in the tree. Published9e80623f4cis the same patch as tested overlay671d12cf, replayed cleanly ontodd00a9c54e. That published SHA was not rebuilt on the Mac. Not tested on a second machine; no game tested.Checklist
main; no other open PR implements the same functions. Unchecked: parent isdd00a9c54e, and upstreammainis nowdaad891ea6. test: build the RTCP feedback, CES setter and NKWebKit request tests on macOS #16801 does not implement these functions. Other open pull requests were not fully scanned..mdfiles or images added to the repository3rdparty/change.