When we started using std::variant we inadvertently started requiring a 10.14 macOS deployment target.
This went unnoticed on the emscripten-releases builder because there we use out own version of libc++.
However for other users, such as those who want to build from source using emsdk, this is a new requirement and emsdk
currently pins CMAKE_OSX_DEPLOYMENT_TARGET to 10.11:
https://github.com/emscripten-core/emsdk/blob/2b3e0b91761ed8962a7c4eb84d8a288819e106d7/emsdk.py#L1061-L1063
I guess we either need to remove the requirements of binaryen or relax the requirements of emsdk.