Skip to content

Add __config_site to libcxx #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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