rust/tests/ui/box
Alex Crichton 75fa9f6dec compiletest: Add a //@ needs-threads directive
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.
2024-03-06 12:35:07 -08:00
..
unit compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
alloc-unstable-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alloc-unstable-fail.stderr Bless tests 2024-01-13 12:46:58 -05:00
alloc-unstable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
into-boxed-slice-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
into-boxed-slice-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
into-boxed-slice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82446.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82446.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
issue-95036.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
large-allocator-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
leak-alloc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
leak-alloc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
new-box-syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
new-box.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
new.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
thin_align.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
thin_drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
thin_new.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
thin_zst.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00