<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/std/thread-sleep-ms.rs, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-01-23T12:51:29+00:00</updated>
<entry>
<title>tests: cleanup `tests/ui/std/thread-sleep-ms.rs`</title>
<updated>2025-01-23T12:51:29+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-01-23T08:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e00e10c943947aa3d6a6bcbdf8ca035e9d8fd865'/>
<id>urn:sha1:e00e10c943947aa3d6a6bcbdf8ca035e9d8fd865</id>
<content type='text'>
- Use `needs-threads` instead of `ignore-sgx`.
- Remove unnecessary import and `#![allow(unused_import)]`.
</content>
</entry>
<entry>
<title>Fix most ui tests on emscripten target</title>
<updated>2024-10-15T12:25:55+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2024-10-14T19:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d6643c4f69ba31f91a385c51f46d615bd2b0d66'/>
<id>urn:sha1:1d6643c4f69ba31f91a385c51f46d615bd2b0d66</id>
<content type='text'>
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
</content>
</entry>
</feed>
