Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 31, 2025

Emscripten's libc is a hybrid of musl and llvm libc; but it reports that it is
"glibc". This modifies the return value of platform.libc_ver() to return
something that is Emscripten-specific.
(cherry picked from commit 11a5fc8)

Co-authored-by: Hood Chatham [email protected]

Fixes #138130.

…GH-138132)

Emscripten's libc is a hybrid of musl and llvm libc; but it reports that it is
"glibc". This modifies the return value of `platform.libc_ver()` to return
something that is Emscripten-specific.
(cherry picked from commit 11a5fc8)

Co-authored-by: Hood Chatham <[email protected]>
Copy link
Contributor

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't an urgent backport, as the 3.14 passes CI without it - but it is a bug fix that has been made in main.

@freakboy3742
Copy link
Contributor

Assigning to @hugovk for 3.14 housekeeping purposes.

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.

4 participants