mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
75fa9f6dec
This commit is extracted from #122036 and adds a new directive to the `compiletest` test runner, `//@ needs-threads`. This is intended to capture the need that a target must implement threading to execute a specific test, typically one that uses `std::thread`. This is primarily done for WebAssembly targets which currently do not have threads by default. This enables transitioning a lot of `//@ ignore-wasm*`-style ignores into a more self-documenting `//@ needs-threads` directive. Additionally the `wasm32-wasi-preview1-threads` target, for example, does actually have threads, but isn't tested in CI at this time. This change enables running these tests for that target, but not other wasm targets. |
||
---|---|---|
.. | ||
auxiliary | ||
assoc-fn-bound-root-obligation.rs | ||
assoc-fn-bound-root-obligation.stderr | ||
basic.rs | ||
generic_trait.rs | ||
impl-comparison-duplicates.rs | ||
in-arc.rs | ||
multiple.rs | ||
not-on-bare-trait-2021.rs | ||
not-on-bare-trait-2021.stderr | ||
not-on-bare-trait.rs | ||
not-on-bare-trait.stderr | ||
not-on-struct.rs | ||
not-on-struct.stderr | ||
on-structs-and-enums-in-fns.rs | ||
on-structs-and-enums-in-fns.stderr | ||
on-structs-and-enums-in-impls.rs | ||
on-structs-and-enums-in-impls.stderr | ||
on-structs-and-enums-locals.rs | ||
on-structs-and-enums-locals.stderr | ||
on-structs-and-enums-rpass.rs | ||
on-structs-and-enums-static.rs | ||
on-structs-and-enums-static.stderr | ||
on-structs-and-enums-xc1.rs | ||
on-structs-and-enums-xc1.stderr | ||
on-structs-and-enums-xc.rs | ||
on-structs-and-enums-xc.stderr | ||
on-structs-and-enums.rs | ||
on-structs-and-enums.stderr | ||
recursion.rs | ||
same-crate-name.rs | ||
same-crate-name.stderr | ||
sugar.rs | ||
sugar.stderr |