rust/library/std/src/sys_common
Alex Crichton 7f3ffbc8c2 std: Get the standard library compiling for wasm64
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-11-10 08:35:42 -08:00
..
condvar Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
memchr Move std::memchr to sys_common 2021-05-14 03:54:46 +02:00
net std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
remutex Fix more “a”/“an” typos 2021-08-22 16:35:29 +02:00
thread_local_key std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread_parker Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
wtf8 Auto merge of #86463 - fee1-dead:fixed-encode_wide, r=m-ou-se 2021-06-20 02:18:51 +00:00
backtrace.rs Apply clippy suggestions 2021-10-09 18:56:01 +02:00
condvar.rs Make it possible to have unboxed condvars on specific platforms. 2020-10-02 09:47:08 +02:00
fs.rs Move the implementation of Path::exists to sys_common::fs so platforms can specialize it 2021-05-19 23:54:56 +01:00
io.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
memchr.rs Move std::memchr to sys_common 2021-05-14 03:54:46 +02:00
mod.rs std: Get the standard library compiling for wasm64 2021-11-10 08:35:42 -08:00
mutex.rs Remove lifetime from StaticMutex and assume 'static. 2020-10-14 09:52:03 +02:00
net.rs add TcpStream::set_linger and TcpStream::linger 2021-08-30 13:42:52 -04:00
process.rs Add #[must_use] to remaining std functions (O-Z) 2021-10-30 23:37:32 -04:00
remutex.rs Use Pin for the 'don't move' requirement of ReentrantMutex. 2020-12-08 22:57:57 +01:00
rwlock.rs Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
tests.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread_info.rs Merge two THREAD_INFO.with and following RefCell borrow 2021-09-16 15:24:53 +02:00
thread_local_dtor.rs Fix a typo in thread_local_dtor.rs 2021-03-14 16:39:29 +09:00
thread_local_key.rs Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
thread.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
wtf8.rs docs: Escape brackets to satisfy the linkchecker 2021-10-22 14:08:43 -07:00