Page MenuHomePhabricator

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

Authored by kamil on Jul 12 2023, 6:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 29, 1:12 AM
Unknown Object (File)
Jan 17 2025, 11:46 AM
Unknown Object (File)
Jan 12 2025, 3:58 PM
Unknown Object (File)
Jan 11 2025, 4:02 AM
Unknown Object (File)
Dec 14 2024, 3:19 PM
Unknown Object (File)
Dec 14 2024, 5:08 AM
Unknown Object (File)
Dec 14 2024, 5:08 AM
Unknown Object (File)
Dec 14 2024, 5:08 AM
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.