Conversation
…emscripten-core#26343) When using the `--failing-and-slow-first` flag on the CI, treat failure to parse the previous run log file as a non-fatal error, to help forcibly terminated CI jobs recover.
When EMTEST_AUTOSKIP=1 and current Node.js version is less than 25, then skip the Node.js 25 requiring tests automatically.
) emscripten-core#26297 didn't make it into the 5.0.2 tag. This pull request moves the ChangeLog entry to 5.0.3.
…mscripten-core#26345) This removes the dependency that libc++abi has on the pthread API functions, allowing better support for Wasm Workers. Replaces: emscripten-core#26283 Fixes: emscripten-core#26277
When building -sSINGLE_FILE builds with -sSINGLE_FILE_BINARY_ENCODE enabled, the base64Decode function was being emitted, and Closure was unable to DCE away the dependent base64ReverseLookup variable. So optimize this away manually to save code size. --------- Co-authored-by: juj <clb@h12dsi.clbri.com>
This file seems like it was previously referenced in the docs prior to 6dc95a7 but never actually built or used in any test.
Also, add more assertions about the return value.
) This file should have been removed in 11e404d.
… NFC (emscripten-core#26359) This works for over 100 reftests in test_browser.py
Support multi-threaded applications in memoryprofiler. Fixes emscripten-core#18107.
…n-core#26357) Should fix emscripten-core#26311 in the manner suggested by @sbc100.
…fault. NFC (emscripten-core#26363) These are only ever used by EMSCRIPTEN_TRACING so we know exactly when to include them. I noticed this while reviewing emscripten-core#26175
…#26364) This allows for the complete removal of `libmemoryprofiler.js` since the memory profiler can now just use the same libtrace-based hooks for all events. I noticed this while reviewing emscripten-core#26175
These files should have been removed in emscripten-core#6827 (2018!)
…er (emscripten-core#26370) From what I gather, this header was only ever supported in Firefox, and now Firefox has removed it. https://bugzilla.mozilla.org/show_bug.cgi?id=1598759
Replaces the WebSocket-to-POSIX-socket proxy with Chrome's Direct Sockets API (TCPSocket, TCPServerSocket, UDPSocket) for real TCP/UDP networking from WASM in Isolated Web Apps. Socket fds are registered in Emscripten's FS using the SOCKFS pattern (FS.createNode + FS.createStream with custom stream_ops), so write(fd) and read(fd) work on socket file descriptors -- required by OpenSSL and other libraries that use write()/read() instead of send()/recv(). New files: src/lib/libdirectsockets.js - all socket syscall implementations Modified files: src/settings.js - adds DIRECT_SOCKETS flag src/modules.mjs - registers libdirectsockets.js when flag is enabled src/lib/libsyscall.js - guards default socket impls when active src/lib/libwasi.js - fd_close path for Direct Socket fds emscripten_syscall_stubs.c - comments out conflicting setsockopt stub Usage: emcc -sDIRECT_SOCKETS -sJSPI -sPROXY_TO_PTHREAD -pthread app.c -o app.js Tested with Tor (unmodified upstream C) compiled to WASM, bootstrapping 100% in ~15 seconds in a Chrome IWA, and a QUIC stack (ngtcp2 + wolfSSL + nghttp3) achieving 90% of native throughput on UDP.
… errno propagation, state preservation, DNS fixes, revert stubs.c
simplify globalThis check per sbc100 suggestion add sock opt constants to struct_info json and use cDefs instead of hardcoded vals per sbc100 feedback extract doh dns resolution out of this pr per sbc100 req to split into sep pr - _emscripten_lookup_name now uses std dns only add asyncify guard w error msg at top of file per sbc100 add direct sockets section to networking rst docs per sbc100 fix sockpair naming to use monotonic counter instead of Object.keys().length which can produce dupes after close getsockname getpeername errno propagation already correct fionread udp datagram handling already addressed stream_ops read write already handle udp dgram shape connect failure already preserves bound state _emscripten_lookup_name deps and ret type already fixed dns address_map already stores string not array https://claude.ai/code/session_013tMRcS8HLZpNDZ4vLoNp7C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.