about summary refs log tree commit diff
path: root/library/std/src/sys/wasm
AgeCommit message (Expand)AuthorLines
2022-12-14std: use a more efficient `Once` on platforms without threadsjoboet-0/+2
2022-11-06std: remove lock wrappers in `sys_common`joboet-3/+3
2022-09-19std: use `sync::RwLock` for internal staticsjoboet-1/+1
2022-07-27Fix futex module imports on wasm+atomicssandydoo-2/+4
2022-06-03Lazily allocate+initialize locks.Mara Bos-2/+2
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+0
2022-04-19Use futex locks on wasm+atomics.Mara Bos-354/+6
2022-04-19Make std::sys::wasm::futex consistent with unix::futex.Mara Bos-4/+18
2022-04-16Use a single ReentrantMutex implementation on all platforms.Mara Bos-93/+1
2022-04-14Use u32 instead of i32 for futexes.Mara Bos-5/+9
2022-04-06Rename RWLock to RwLock in std::sys.Mara Bos-7/+7
2022-03-22Move std::sys::{mutex, condvar, rwlock} to std::sys::locks.Mara Bos-12/+12
2021-12-14Fix a bunch of typosFrank Steffahn-7/+7
2021-11-10Review commentsAlex Crichton-1/+1
2021-11-10std: Get the standard library compiling for wasm64Alex Crichton-2/+2
2021-09-28Rename `std::thread::available_onccurrency` to `std::thread::available_parall...Yoshua Wuyts-1/+1
2021-07-03Move `os_str_bytes` to `sys::unix` and reuse it on other platforms.Christiaan Dirkx-2/+2
2021-07-02Fix double import in wasm threadThomas Versteeg-1/+0
2021-06-21Use `Unsupported` on platforms where `available_concurrency` is not implemented.Christiaan Dirkx-4/+2
2021-06-21Move `available_concurrency` implementation to `sys`Christiaan Dirkx-0/+8
2021-06-01Multiple improvements to RwLocksBenoƮt du Garreau-0/+2
2021-05-07Rollup merge of #84655 - CDirkx:wasm, r=m-ou-seDylan DPC-65/+13
2021-04-30Auto merge of #84522 - CDirkx:cmath, r=yaahcbors-1/+1
2021-04-28Reuse `unsupported::args` on `wasm`Christiaan Dirkx-42/+1
2021-04-28Move `wasm` atomics code to `wasm/atomics`Christiaan Dirkx-5/+5
2021-04-28Rework `wasm::thread` to `thread_atomics`Christiaan Dirkx-19/+8
2021-04-28Reuse `unix::cmath`Christiaan Dirkx-1/+1
2021-04-25Auto merge of #84115 - CDirkx:rt, r=m-ou-sebors-8/+0
2021-04-23Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`Christiaan Dirkx-3/+4
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-6/+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-1/+1
2021-04-20Replace `Void` with never typeChristiaan Dirkx-2/+2
2021-01-29sys: use `process::abort()` instead of `arch::wasm32::unreachable()`Miguel Ojeda-1/+1
2020-11-17Rollup merge of #78138 - fortanix:raoul/dlmalloc0.2, r=Mark-SimulacrumMara Bos-1/+1
2020-11-12Upgrading dlmalloc to 0.2.1Raoul Strackx-1/+1
2020-11-12Fix an intrinsic invocation on threaded wasmAlex Crichton-1/+1
2020-10-24Remove unnecessary unsafe block from condvar_atomics & mutex_atomicschansuke-3/+3
2020-10-24Fix unsafe operation of wasm32::memory_atomic_notifychansuke-1/+2
2020-10-24Add documents for DLMALLOCchansuke-4/+8
2020-10-24Add some description for (malloc/calloc/free/realloc)chansuke-0/+4
2020-10-24`#[deny(unsafe_op_in_unsafe_fn)]` in sys/wasmchansuke-18/+32
2020-10-16Rollup merge of #77619 - fusion-engineering-forks:wasm-parker, r=dtolnayDylan DPC-0/+19
2020-10-13Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too.Mara Bos-0/+1
2020-10-06Use futex-based thread-parker for Wasm32.Mara Bos-0/+19
2020-10-02No longer put wasm condvars in a box.Mara Bos-1/+1
2020-10-02Make it possible to have unboxed condvars on specific platforms.Mara Bos-0/+2
2020-10-02No longer put wasm mutexes in a box.Mara Bos-1/+1