about summary refs log tree commit diff
path: root/library/std/src/sys/common
AgeCommit message (Collapse)AuthorLines
2023-03-29Use #[inline] on Windows for thread local accessJohn Kåre Alsaker-48/+4
2023-03-10Moved thread_local implementation to sys::commonAyush Singh-315/+717
This allows removing all the platform-dependent code from `library/std/src/thread/local.rs` and `library/std/src/thread/mod.rs` Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2023-03-10Split __thread_local_inner macroAyush Singh-0/+316
Split the __thread_local_inner macro to make it more readable. Also move everything to crate::sys::common::thread_local. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2023-01-21library/std/sys_common: Define MIN_ALIGN for m68k-unknown-linux-gnuJohn Paul Adrian Glaubitz-0/+1
2022-11-26Remove redundant `all` in cfgChris Denton-6/+6
2022-10-03Reduce CString allocations in std as much as possibleAlex Saveau-0/+128
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
Signed-off-by: codehorseman <cricis@yeah.net>
2022-01-13Set the allocation MIN_ALIGN for espidf to 4.Scott Mabin-2/+8
2021-11-10std: Get the standard library compiling for wasm64Alex Crichton-1/+2
This commit goes through and updates various `#[cfg]` as appropriate to get the wasm64-unknown-unknown target behaving similarly to the wasm32-unknown-unknown target. Most of this is just updating various conditions for `target_arch = "wasm32"` to also account for `target_arch = "wasm64"` where appropriate. This commit also lists `wasm64` as an allow-listed architecture to not have the `restricted_std` feature enabled, enabling experimentation with `-Z build-std` externally. The main goal of this commit is to enable playing around with `wasm64-unknown-unknown` externally via `-Z build-std` in a way that's similar to the `wasm32-unknown-unknown` target. These targets are effectively the same and only differ in their pointer size, but wasm64 is much newer and has much less ecosystem/library support so it'll still take time to get wasm64 fully-fledged.
2021-08-10STD support for the ESP-IDF frameworkivmarkov-1/+2
2021-04-14Update documentationChristiaan Dirkx-2/+12
2021-04-14Move `std::sys_common::alloc` to `std::sys::common`Christiaan Dirkx-0/+49