Skip to content

Commit b74dda1

Browse files
committed
Restore deleted __config_site
This is our emscripten-specific configuration file and was mistakenly deleted when I ran update_libcxx.py.
1 parent f619917 commit b74dda1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Set the LIBCPP ABI version 2 under emscripten so that we get nicely aligned string
2+
// data and other nice fixes.
3+
#define _LIBCPP_ABI_VERSION 2
4+
#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
5+
#define _LIBCPP_HAS_MUSL_LIBC
6+
#define _LIBCPP_ABI_NAMESPACE __2
7+
// Emscripten doesn't use PSTL at the moment.
8+
#define _LIBCPP_PSTL_CPU_BACKEND_SERIAL
9+
#define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_NONE
10+
#define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE

0 commit comments

Comments
 (0)