mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
* 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