src: modernize cleanup queue to use c++20#56063
src: modernize cleanup queue to use c++20#56063nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #56063 +/- ##
==========================================
- Coverage 88.00% 87.99% -0.01%
==========================================
Files 656 656
Lines 188988 189002 +14
Branches 35992 35988 -4
==========================================
- Hits 166315 166310 -5
- Misses 15838 15849 +11
- Partials 6835 6843 +8
|
legendecas
left a comment
There was a problem hiding this comment.
LGTM, thanks! Commented some style thoughts...
440000e to
5cb91dd
Compare
|
cc @nodejs/build is there a limitation in macOS regarding this? |
|
Are you missing an |
Yes, but is it only required on macOS? |
5cb91dd to
23b6994
Compare
|
cc @nodejs/build This is blocked my macOS infrastructure as well. |
|
@anonrig do you know if this is still being blocked by macos test runners? |
Yes it is still blocked |
|
@nodejs/platform-macos |
|
Landed in 581b444 |
|
It seems this broke the "Test Linux" workflow. Is a GCC update needed? |
|
It's probably the opposite: I guess GCC was updated in the GitHub runners since the last push (two months ago) and includes new warnings. |
No the only blocker for this was the macOS build. So Linux shouldn't break unless something changed that's outside of the scope of this Pr in the past 2 months, that broke this pr when it landed. |
|
@targos I am away from keyboard. Can you revert this PR? I can re-land it later. Right now your v8 work is more important. |
|
FWIW the error is: |
|
The "Test Linux" workflow uses clang, not GCC. node/.github/workflows/test-linux.yml Lines 28 to 29 in 261624b |
Although FWIW actions/runner-images#11197 back in December updated GNU C++ from 13.2.0 to 13.3.0. |
|
This reverts commit 581b444. PR-URL: #56846 Refs: #56063 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
Getting the idea from @jasnell on #56059, let's use std::ranges::sort and spaceship operator to sort with std::ranges::sort which is available on C++20.