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.

@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).

@hoodmane hoodmane removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 18, 2026
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 2ea82b6 to 483b437 Compare June 18, 2026 17:39
@hoodmane

Copy link
Copy Markdown
Contributor Author

@freakboy3742 I removed the needs-backport label, can we merge this to main and we can figure out whether or not it gets a backport later?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants