This allows normal static constructors use use std::cout, etc.
We've been patching this in emscripten for a long time now.
See https://github.com/emscripten-core/emscripten/issues/3824
Fixes: PR28954
Differential D74885
[libcxx] Construct __start_std_streams at high init priority ldionne on Feb 19 2020, 7:55 PM. Authored by
Details
This allows normal static constructors use use std::cout, etc. We've been patching this in emscripten for a long time now. Fixes: PR28954
Diff Detail
Unit Tests Event TimelineComment Actions Oops, I saw you already have https://reviews.llvm.org/D31413 out .. for a while now. And the associated bug: http://llvm.org/PR28954 Comment Actions Also, please coordinate with @EricWF on https://reviews.llvm.org/D31413. I haven't followed the whole thing, but what are we blocked on? It seems like a fairly serious issue that's worth fixing.
|
clang-format: please reformat the code