Skip to content

gh-145177: Bump Emscripten to 6.0.0#151611

Open
hoodmane wants to merge 1 commit into
python:mainfrom
hoodmane:emscripten-6.0.0-2
Open

gh-145177: Bump Emscripten to 6.0.0#151611
hoodmane wants to merge 1 commit into
python:mainfrom
hoodmane:emscripten-6.0.0-2

Conversation

@hoodmane

@hoodmane hoodmane commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

And fix two problems due to changes in Emscripten libc:

  1. There was a regression in getentropy that broke it if exactly one byte is requested. Replace it with a wrapped getentropy that replaces a one byte request with a two-byte request and then put the first byte in the original buffer.
  2. Emscripten libc now supports umask. We need to initialize the emscripten libc umask to the ambient umask and zero out the ambient umask.

And fix two problems due to changes in Emscripten libc:

1. There was a regression in getentropy that broke it if exactly one byte is
requested. Replace it with a wrapped getentropy that replaces a one byte request
with a two-byte request and then put the first byte in the original buffer.
2. Emscripten libc now supports umask. We need to initialize the emscripten
libc umask to the ambient umask and zero out the ambient umask.
@hoodmane hoodmane force-pushed the emscripten-6.0.0-2 branch from 3a9f69b to 2ea82b6 Compare June 17, 2026 23:12
@freakboy3742

Copy link
Copy Markdown
Contributor

These changes all makes sense; my only hesitation on merging is establishing exactly the policy is on backports (cf this thread).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.15 pre-release feature fixes, bugs and security fixes OS-emscripten skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants