Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions libcxx/include/__config_site
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Set the LIBCPP ABI version 2 under emscripten so that we get nicely aligned string
// data and other nice fixes.
#define _LIBCPP_ABI_VERSION 2
#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
#define _LIBCPP_HAS_MUSL_LIBC
#define _LIBCPP_ABI_NAMESPACE __2
// Emscripten doesn't use PSTL at the moment.
#define _LIBCPP_PSTL_CPU_BACKEND_SERIAL
// __libcpp_verbose_abort creases code size too much
#define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT