about summary refs log tree commit diff
path: root/library/std/src/sys/wasi
AgeCommit message (Expand)AuthorLines
2023-03-06Implement read_buf for a few more typesTomasz Miąsko-3/+23
2023-02-09Allow wasi-libc to initialize its environment variables lazily.Dan Gohman-1/+7
2022-12-14std: use a more efficient `Once` on platforms without threadsjoboet-0/+2
2022-11-24feat: implement TcpStream shutdown for wasm32-wasiHarald Hoyer-2/+8
2022-10-15Add `IsTerminal` trait to determine if a descriptor or handle is a terminalJosh Triplett-0/+6
2022-10-14Rollup merge of #102847 - joshtriplett:bugfix-impl-fd-traits-for-io-types, r=...Dylan DPC-49/+1
2022-10-11fix: return type of single-threaded dummy lock must be droppableAndrew Brown-2/+2
2022-10-10Implement `env_lock` with `RwLock`Andrew Brown-12/+23
2022-10-10Allow compiling the `wasm32-wasi` std library with atomicsAndrew Brown-3/+11
2022-10-10Consolidate AsFd instances for stdio types into `library/std/src/os/fd/owned.rs`Josh Triplett-49/+1
2022-10-09impl AsFd for io::{Stdin, Stdout, Stderr}, not the sys versionsJosh Triplett-3/+3
2022-10-09Auto merge of #93668 - SUPERCILEX:path_alloc, r=joshtriplettbors-69/+66
2022-10-04Auto merge of #101768 - sunfishcode:sunfishcode/wasi-stdio-lock-asfd, r=josht...bors-0/+27
2022-10-03Reduce CString allocations in std as much as possibleAlex Saveau-69/+66
2022-10-03Add SAFETY comments for AsFd implementations on stdin/stdout/stderrJosh Triplett-0/+3
2022-10-03Add stability attributes.Dan Gohman-3/+6
2022-10-01Error instead of panicking when setting file times if the passed `SystemTime`...beetrees-8/+15
2022-09-22Add `AsFd` implementations for stdio lock types on WASI.Dan Gohman-0/+21
2022-08-31Rollup merge of #100892 - sunfishcode:wasi-stdio-asfd, r=joshtriplettYuki Okushi-1/+22
2022-08-22Add `AsFd` implementations for stdio types on WASI.Dan Gohman-1/+22
2022-08-18Address reviewer commentsNick Cameron-1/+1
2022-08-05non-linux platformsNick Cameron-3/+3
2022-08-01Auto merge of #98246 - joshtriplett:times, r=m-ou-sebors-0/+29
2022-07-30Remove socklen_t from platforms where it's no longer usedLinus Färnstrand-2/+0
2022-07-15Support setting file accessed/modified timestampsJosh Triplett-0/+29
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+0
2022-03-22Move std::sys::{mutex, condvar, rwlock} to std::sys::locks.Mara Bos-6/+2
2022-02-13make Instant::{duration_since, elapsed, sub} saturating and remove workaroundsThe8472-8/+0
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-2/+2
2022-01-28wasi: enable TcpListener and TcpStreamHarald Hoyer-13/+57
2022-01-28wasi: update to wasi 0.11.0Harald Hoyer-24/+29
2022-01-19Fix CVE-2022-21658 for WASIAlex Crichton-8/+63
2021-11-02more efficent File::read_buf impl for windows and unixDrMeepster-1/+5
2021-09-28Rename `std::thread::available_onccurrency` to `std::thread::available_parall...Yoshua Wuyts-1/+1
2021-08-30add `TcpStream::set_linger` and `TcpStream::linger`ibraheemdev-0/+8
2021-08-19Factor out a common `RawFd`/`AsRawFd`/etc for Unix and WASI.Dan Gohman-35/+69
2021-08-19I/O safety.Dan Gohman-103/+228
2021-08-18Rollup merge of #88012 - sunfishcode:sunfishcode/wasi-raw-fd-c-int, r=alexcri...Guillaume Gomez-47/+69
2021-08-13Change WASI's `RawFd` from `u32` to `c_int` (`i32`).Dan Gohman-47/+69
2021-08-02Rollup merge of #86509 - CDirkx:os_str, r=m-ou-seYuki Okushi-1/+2
2021-07-05Make `getenv` return an Option instead of a ResultAris Merchant-5/+4
2021-07-03Move `os_str_bytes` to `sys::unix` and reuse it on other platforms.Christiaan Dirkx-1/+2
2021-07-02Auto merge of #85746 - m-ou-se:io-error-other, r=joshtriplettbors-4/+5
2021-06-21Use `Unsupported` on platforms where `available_concurrency` is not implemented.Christiaan Dirkx-4/+1
2021-06-21Move `available_concurrency` implementation to `sys`Christiaan Dirkx-0/+8
2021-06-15Rename ErrorKind::Unknown to Uncategorized.Mara Bos-4/+5
2021-06-15Redefine `ErrorKind::Other` and stop using it in std.Mara Bos-4/+4
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-1/+1
2021-05-03Move `std::sys::wasi::ext` to `std::os::wasi`Christiaan Dirkx-796/+0
2021-05-02Use ErrorKind::OutOfMemory in unix, windows, and wasiKornel-0/+1