Page MenuHomePhabricator

[nix] Enable C++17 support for Emscripten
ClosedPublic

Authored by kamil on Jul 12 2023, 6:18 AM.
Tags
None
Referenced Files
F2157612: D8488.id28889.diff
Mon, Jul 1, 2:11 AM
F2157611: D8488.id28634.diff
Mon, Jul 1, 2:11 AM
F2157585: D8488.diff
Mon, Jul 1, 2:08 AM
F2156847: D8488.id.diff
Mon, Jul 1, 12:44 AM
Unknown Object (File)
Tue, Jun 25, 10:02 PM
Unknown Object (File)
Fri, Jun 21, 10:17 PM
Unknown Object (File)
Wed, Jun 12, 2:44 AM
Unknown Object (File)
Tue, Jun 11, 6:38 PM
Subscribers

Details

Summary

Emscripten is coupled with clang version, according to clang docs C++17 starts from Clang 5.0, while we are using Clang 14.0.6 so should be safe.

Depends on D8487

Test Plan

Run script

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
web/scripts/run_emscripten.sh
102 ↗(On Diff #28634)

this line causing hiding this file by phabricator, so adding a comment to show content

kamil published this revision for review.Jul 12 2023, 7:36 AM

Are we already explicitly using c++17 in native (not c++14 with extensions for 17)? If not it would be good to use it.

This revision is now accepted and ready to land.Jul 14 2023, 2:26 AM

Are we already explicitly using c++17 in native (not c++14 with extensions for 17)?

I think so

This revision was automatically updated to reflect the committed changes.