I have successfully built libstdc++ with clang on wasm32-wasi, but the clang front-end always assumes we are using -stdlib=libc++.
This patch is to add support for -stdlib=libstdc++ for webassembly.
https://gcc.gnu.org/pipermail/libstdc++/2021-April/052429.html
I do not know whether add -stdlib=libstdc++ in the test will break the code. Let's just try it.
clang-format: please reformat the code