about summary refs log tree commit diff
path: root/library/std/src/sys/wasi
AgeCommit message (Expand)AuthorLines
2024-01-11std: begin moving platform support modules into `pal`joboet-2713/+0
2023-11-15Re-format code with new rustfmtMark Rousskov-6/+7
2023-10-06Use `io_error_more` on WASIShE3py-23/+92
2023-08-25Add a new helper to avoid calling io::Error::kindBen Kimock-0/+5
2023-08-23Rollup merge of #114696 - g0djan:godjan/fix_114610, r=Mark-SimulacrumGuillaume Gomez-0/+8
2023-08-18Fix UB in `std::sys::os::getenv()`ShE3py-8/+15
2023-08-16address commentsGeorgii Rylov-11/+7
2023-08-16Fix a pthread_t handle leak #114610Georgii Rylov-0/+12
2023-08-15Rollup merge of #114619 - g0djan:godjan/fix_#114608, r=m-ou-seMatthias Krüger-3/+3
2023-08-14std: add some missing repr(transparent)Ralf Jung-2/+8
2023-08-08Fix #114608Georgii Rylov-3/+3
2023-08-07Better Debug for Vars and VarsOsTamir Duberstein-0/+29
2023-07-29Add wasm32-wasi-threads target + WASI threadsGeorgii Rylov-11/+140
2023-05-25std: make internal-only items `pub(crate)`Michael Howell-5/+5
2023-05-03Rollup merge of #105695 - joboet:remove_generic_parker, r=m-ou-seManish Goregaokar-0/+2
2023-05-01Inline AsRawFd implementationsKonrad Borowski-0/+3
2023-05-01Inline socket function implementationsKonrad Borowski-0/+3
2023-05-01Inline AsInner implementationsKonrad Borowski-0/+6
2023-04-20Fix `std` compilation error for wasi+atomicsPierre Krieger-2/+7
2023-03-06Implement read_buf for a few more typesTomasz Miąsko-3/+23
2023-02-16std: replace generic thread parker with explicit no-op parkerjoboet-0/+2
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