about summary refs log tree commit diff
path: root/library/std/src/sys/stdio/wasi.rs
AgeCommit message (Collapse)AuthorLines
2025-09-04std: Implement WASIp2-specific stdio routinesAlex Crichton-117/+0
This commit is an extension of previous libstd support but applied to stdio specifically. The stdio routines are updated away from WASIp1 APIs to using WASIp2 APIs natively. The end goal is to eventually drop the dependency on WASIp1 APIs in the standard library entirely in favor of exclusively depending on WASIp2.
2025-04-04Move fd into sysThalia Archibald-1/+1
2025-03-09std: move stdio to `sys`joboet-0/+117
As per #117276, this moves the platform definitions of `Stdout` and friends into `sys`. This PR also unifies the UNIX and Hermit implementations and moves the `__rust_print_err` function needed by libunwind on SGX into the dedicated module for such helper functions.