Rollup merge of #136353 - purplesyringa:libtest-instant-wasm, r=Mark-Simulacrum

fix(libtest): Enable Instant on Emscripten targets

`Instant::now()` works correctly on Emscripten since https://github.com/rust-lang/libc/pull/3962. All wasm-family targets with OS support can now handle instants.

Improves #131738.

~~This changes the behavior of libtest on `unknown-unknown`/`unknown-none` wasm targets, but as far as I can see, libtest doesn't support them anyway. (Can anyone double-check?)~~ UPD: this patch no longer affects `unknown-unknown` targets.

``@rustbot`` label +A-libtest +T-testing-devex +O-emscripten +O-wasm -needs-triage
This commit is contained in:
Jubilee 2025-02-10 00:51:51 -08:00 committed by GitHub
commit 40b655b952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available