rust/tests/ui/box/unit
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
..
expr-block-generic-unique1.rs
expr-block-generic-unique2.rs
expr-if-unique.rs
unique-assign-copy.rs
unique-assign-drop.rs
unique-assign-generic.rs
unique-assign.rs
unique-autoderef-field.rs
unique-autoderef-index.rs
unique-cmp.rs
unique-containing-tag.rs
unique-create.rs
unique-decl-init-copy.rs
unique-decl-init.rs
unique-decl-move.rs
unique-decl.rs
unique-deref.rs
unique-destructure.rs
unique-drop-complex.rs
unique-ffi-symbols.rs
unique-fn-arg-move.rs
unique-fn-arg-mut.rs
unique-fn-arg.rs
unique-fn-ret.rs
unique-generic-assign.rs
unique-in-tag.rs
unique-in-vec-copy.rs
unique-in-vec.rs
unique-init.rs
unique-kinds.rs
unique-log.rs
unique-match-discrim.rs
unique-move-drop.rs
unique-move-temp.rs
unique-move.rs
unique-mutable.rs
unique-object-move.rs
unique-object-noncopyable.rs
unique-object-noncopyable.stderr
unique-pat-2.rs
unique-pat-3.rs
unique-pat.rs
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr
unique-rec.rs
unique-send-2.rs
unique-send.rs
unique-swap.rs
unwind-unique.rs