Files
RustPython/crates
Jeong, YunWon 01bd5ca370 host_env: export O_* flags, wasm errno, and posix names (#8788)
* host_env: export O_* flags and wasm errno

Re-export open(2) flags from os. wasm32-unknown-unknown uses
Darwin/BSD numbers, matching the guest errno table.

Expand errno_wasm to that table plus strerror.

Assisted-by: Claude

* stdlib: take O_* open flags from host_env

os, posix, and nt re-export the host_env names instead of libc.

Assisted-by: Claude

* host_env: export remaining posix integer names

Publish wait, RTLD, SCHED, SEEK, PRIO, CLD, AT, lockf, and
statvfs flags so posix and os stop taking them from libc.

Assisted-by: Claude

* stdlib: take remaining posix names from host_env

posix and os re-export wait, RTLD, SCHED, SEEK, PRIO, and
statvfs flags from host_env.

Assisted-by: Claude

* host_env: define AT_EACCESS on Android

bionic's libc crate does not export AT_EACCESS. Use the Linux
fcntl value there.

The eval-breaker unit test now waits for STOP_BIT to be clear
instead of requiring the whole process-wide breaker word empty.

Assisted-by: Claude

* vm: gate stop_bit_set to tests

Clippy builds the lib without tests, so the helper and its
re-export were unused.

Assisted-by: Claude
2026-09-23 08:12:02 +09:00
..
2026-03-31 21:05:08 +09:00