about summary refs log tree commit diff
path: root/tests/ui/std/thread-sleep-ms.rs
AgeCommit message (Collapse)AuthorLines
2025-01-23tests: cleanup `tests/ui/std/thread-sleep-ms.rs`许杰友 Jieyou Xu (Joe)-7/+4
- Use `needs-threads` instead of `ignore-sgx`. - Remove unnecessary import and `#![allow(unused_import)]`.
2024-10-15Fix most ui tests on emscripten targetHood Chatham-0/+12
To fix the linker errors, we need to set the output extension to `.js` instead of `.wasm`. Setting the output to a `.wasm` file puts Emscripten into standalone mode which is effectively a distinct target. We need to set the runner to be `node` as well. This fixes most of the ui tests. I fixed a few more tests with simple problems: - `intrinsics/intrinsic-alignment.rs` and `structs-enums/rec-align-u64.rs` -- Two `#[cfg]` macros match for Emscripten so we got a duplicate definition of `mod m`. - `issues/issue-12699.rs` -- Seems to hang so I disabled it - `process/process-sigpipe.rs` -- Not expected to work on Emscripten so I disabled it