Page MenuHomePhabricator

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

Authored by kamil on Jul 12 2023, 6:18 AM.
Tags
None
Referenced Files
F2172735: D8488.id28889.diff
Tue, Jul 2, 8:32 PM
F2166153: D8488.id28634.diff
Tue, Jul 2, 3:33 AM
Unknown Object (File)
Mon, Jul 1, 2:11 AM
Unknown Object (File)
Mon, Jul 1, 2:11 AM
Unknown Object (File)
Mon, Jul 1, 2:08 AM
Unknown Object (File)
Mon, Jul 1, 12:44 AM
Unknown Object (File)
Tue, Jun 25, 10:02 PM
Unknown Object (File)
Fri, Jun 21, 10:17 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
Branch
wasm-native
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
web/scripts/run_emscripten.sh
102

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.