[libcxx-commits] [PATCH] D61336: [WebAssembly] WASI support for libcxx
Dan Gohman via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 30 13:15:59 PDT 2019
sunfish created this revision.
sunfish added reviewers: dschuff, sbc100, aheejin.
Herald added a reviewer: EricWF.
Herald added subscribers: ldionne, jgravelle-google, krytarowski.
This adds explicit support for the WASI platform to libcxx. Notes:
- WASI libc uses some components from musl, however it's not fully compatible with musl, and this patch will allow us to stop using _LIBCPP_HAS_MUSL_LIBC and customize for WASI libc specifically.
- in src/random.cpp, `getentropy` is declared in `<unistd.h>` on all platforms I've checked (such as OpenBSD <https://man.openbsd.org/getentropy.2> which had it first) except Darwin.
Repository:
rCXX libc++
https://reviews.llvm.org/D61336
Files:
include/__config
include/__locale
src/include/config_elast.h
src/random.cpp
src/thread.cpp
test/support/test_macros.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61336.197423.patch
Type: text/x-patch
Size: 4051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190430/608b4f4b/attachment.bin>
More information about the libcxx-commits
mailing list