| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-01-11 | std: begin moving platform support modules into `pal` | joboet | -198/+0 | |
| 2023-10-06 | Use `io_error_more` on WASI | ShE3py | -23/+92 | |
| 2023-08-25 | Add a new helper to avoid calling io::Error::kind | Ben Kimock | -0/+5 | |
| 2023-07-29 | Add wasm32-wasi-threads target + WASI threads | Georgii Rylov | -5/+17 | |
| 2023-05-03 | Rollup merge of #105695 - joboet:remove_generic_parker, r=m-ou-se | Manish Goregaokar | -0/+2 | |
| Replace generic thread parker with explicit no-op parker With #98391 merged, all platforms supporting threads now have their own parking implementations. Therefore, the generic implementation can be removed. On the remaining platforms (really just WASM without atomics), parking is not supported, so calls to `thread::park` now return instantly, which is [allowed by their API](https://doc.rust-lang.org/nightly/std/thread/fn.park.html). This is a change in behaviour, as spurious wakeups do not currently occur since all platforms guard against them. It is invalid to depend on this, but I'm still going to tag this as libs-api for confirmation. ````@rustbot```` label +T-libs +T-libs-api +A-atomic r? rust-lang/libs | ||||
| 2023-04-20 | Fix `std` compilation error for wasi+atomics | Pierre Krieger | -2/+7 | |
| 2023-02-16 | std: replace generic thread parker with explicit no-op parker | joboet | -0/+2 | |
| 2022-12-14 | std: use a more efficient `Once` on platforms without threads | joboet | -0/+2 | |
| 2022-10-10 | Allow compiling the `wasm32-wasi` std library with atomics | Andrew Brown | -0/+3 | |
| The issue #102157 demonstrates how currently the `-Z build-std` option will fail when re-compiling the standard library with `RUSTFLAGS` like `RUSTFLAGS="-C target-feature=+atomics,+bulk-memory -C link-args=--shared-memory"`. This change attempts to resolve those build issues by depending on the the WebAssembly `futex` module and providing an implementation for `env_lock`. Fixes #102157. | ||||
| 2022-03-22 | Move std::sys::{mutex, condvar, rwlock} to std::sys::locks. | Mara Bos | -6/+2 | |
| 2022-01-28 | wasi: update to wasi 0.11.0 | Harald Hoyer | -19/+22 | |
| To make use of `sock_accept()`, update the wasi crate to `0.11.0`. Signed-off-by: Harald Hoyer <harald@profian.com> | ||||
| 2021-07-03 | Move `os_str_bytes` to `sys::unix` and reuse it on other platforms. | Christiaan Dirkx | -1/+2 | |
| 2021-06-15 | Rename ErrorKind::Unknown to Uncategorized. | Mara Bos | -2/+2 | |
| 2021-06-15 | Redefine `ErrorKind::Other` and stop using it in std. | Mara Bos | -2/+2 | |
| 2021-05-03 | Move `std::sys::wasi::ext` to `std::os::wasi` | Christiaan Dirkx | -1/+0 | |
| 2021-05-02 | Use ErrorKind::OutOfMemory in unix, windows, and wasi | Kornel | -0/+1 | |
| 2021-04-30 | Auto merge of #84522 - CDirkx:cmath, r=yaahc | bors | -1/+1 | |
| Reuse `sys::unix::cmath` on other platforms Reuse `sys::unix::cmath` on all non-`windows` platforms. `unix` is chosen as the canonical location instead of `unsupported` or `common` because `unsupported` doesn't make sense semantically and `common` is reserved for code that is supported on all platforms. Also `unix` is already the home of some non-`windows` code that is technically not exclusive to `unix` like `unix::path`. | ||||
| 2021-04-28 | Reuse `unix::cmath` | Christiaan Dirkx | -1/+1 | |
| 2021-04-22 | Move most init to `sys::init` | Christiaan Dirkx | -2/+0 | |
| 2021-04-18 | Rename `NotSupported` to `Unsupported` | Christiaan Dirkx | -1/+1 | |
| 2021-04-18 | Update `decode_error_kind` to decode os errors to `NotSupported` | Christiaan Dirkx | -0/+1 | |
| 2020-10-13 | Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too. | Mara Bos | -0/+1 | |
| 2020-09-15 | Consolidate wasi::process and unsupported::process | Eric Huss | -0/+1 | |
| 2020-09-15 | Consolidate wasi alloc with unix alloc. | Eric Huss | -0/+1 | |
| 2020-09-15 | Consolidate byte-identical modules. | Eric Huss | -0/+2 | |
| 2020-07-27 | mv std libs to library/ | mark | -0/+96 | |
