[libcxx-commits] [PATCH] D116498: [libcxx] Use Fuchsia-native CPRNG for std::random_device
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 3 13:36:27 PST 2022
ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/src/random.cpp:188
+ // statically linking libc++.
+# pragma comment(lib, "zircon")
+
----------------
This pragma is magic. It leaves a breadcrumb in the `.o` and the linker will pick it up automatically?
On what platforms does this work?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116498/new/
https://reviews.llvm.org/D116498
More information about the libcxx-commits
mailing list