about summary refs log tree commit diff
path: root/library/std/src/sys/wasi
AgeCommit message (Expand)AuthorLines
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
2021-04-30Auto merge of #84522 - CDirkx:cmath, r=yaahcbors-1/+1
2021-04-28Reuse `unix::cmath`Christiaan Dirkx-1/+1
2021-04-25Rollup merge of #84541 - KaiJewson:inline-raw, r=m-ou-seDylan DPC-0/+21
2021-04-25Inline most raw socket, fd and handle conversionsKaiJewson-0/+21
2021-04-25Auto merge of #84115 - CDirkx:rt, r=m-ou-sebors-6/+0
2021-04-23Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`Christiaan Dirkx-8/+8
2021-04-22Rollup merge of #84413 - CDirkx:args_inner_debug, r=m-ou-seDylan DPC-3/+4
2021-04-22Move most init to `sys::init`Christiaan Dirkx-4/+0
2021-04-22Remove `sys::args::Args::inner_debug` and use `Debug` insteadChristiaan Dirkx-3/+4
2021-04-22Move all cleanup to `sys::cleanup`Christiaan Dirkx-2/+0
2021-04-20Change uses of never typeChristiaan Dirkx-5/+5
2021-04-20Replace `Void` with never typeChristiaan Dirkx-6/+6
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+1
2021-04-18Update `decode_error_kind` to decode os errors to `NotSupported`Christiaan Dirkx-0/+1
2021-03-27Use DebugStruct::finish_non_exhaustive() in std.Mara Bos-1/+1
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-5/+5
2021-03-05std: Fix a bug on the wasm32-wasi target opening filesAlex Crichton-4/+2
2021-02-27Rollup merge of #82421 - sunfishcode:wasi-metadata-size, r=alexcrichtonDylan DPC-0/+5
2021-02-24x.py fmtDan Gohman-3/+3
2021-02-24Use `super::` to refer to WASI-specific names.Dan Gohman-7/+7
2021-02-24Cast `libc::STDIN_FILENO` to `RawFd`.Dan Gohman-6/+6
2021-02-23Enable API documentation for `std::os::wasi`.Dan Gohman-15/+50
2021-02-23Rollup merge of #81984 - sunfishcode:wasi-link, r=alexcrichtonDylan DPC-6/+2
2021-02-22Add a `size()` function to WASI's `MetadataExt`.Dan Gohman-0/+5
2021-02-19x.py fmtDan Gohman-6/+1
2021-02-10Make WASI's `hard_link` behavior match other platforms.Dan Gohman-1/+2
2021-02-03Restore comment as it wasIngvar Stepanyan-0/+2
2021-02-03Keep old symlink; expose new symlink_pathIngvar Stepanyan-4/+14
2021-01-30Expose correct symlink API on WASIIngvar Stepanyan-9/+5
2021-01-14std: Update wasi-libc commit of the wasm32-wasi targetAlex Crichton-22/+78
2020-11-14Disambiguate symlink argument namesDavid Tolnay-10/+10
2020-10-14Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=M...Yuki Okushi-0/+1
2020-10-13Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too.Mara Bos-0/+1