rust/library/std/src/thread
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
..
local Squashed implementation of the pass 2021-06-20 16:09:42 +02:00
local.rs std: Get the standard library compiling for wasm64 2021-11-10 08:35:42 -08:00
mod.rs std: Get the standard library compiling for wasm64 2021-11-10 08:35:42 -08:00
tests.rs Add test for JoinHandle::is_running. 2021-10-31 15:23:36 +01:00