diff options
author | Derek Schuff <dschuff@chromium.org> | 2021-10-18 16:57:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 23:57:12 +0000 |
commit | be02d3f0f2689475f31c4523010eed58f39d27cb (patch) | |
tree | e62d8f8d15547a54c6c3c40a5752c7f08e4379cd /scripts/test | |
parent | f0a8de302b85441deb8864c9e20c561c934e27b8 (diff) | |
download | binaryen-be02d3f0f2689475f31c4523010eed58f39d27cb.tar.gz binaryen-be02d3f0f2689475f31c4523010eed58f39d27cb.tar.bz2 binaryen-be02d3f0f2689475f31c4523010eed58f39d27cb.zip |
Update to C++17 and use std::optional for getSuperType (#4203)
This sets the C++ standard variable in the build to C++17, and makes use of std::optional (a C++17 library feature) in one place, to test that it's working.
Diffstat (limited to 'scripts/test')
-rw-r--r-- | scripts/test/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py index 82e4fe03e..d86d802d3 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -25,7 +25,7 @@ import sys # The C++ standard whose features are required to build Binaryen. # Keep in sync with CMakeLists.txt CXX_STANDARD -cxx_standard = 14 +cxx_standard = 17 def parse_args(args): |