<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/test/src/console.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-09T20:51:54+00:00</updated>
<entry>
<title>fix(libtest): Enable Instant on Emscripten targets</title>
<updated>2025-02-09T20:51:54+00:00</updated>
<author>
<name>Alisa Sireneva</name>
<email>me@purplesyringa.moe</email>
</author>
<published>2025-01-31T11:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b01c7f6b9c6ac837511e7bb75c15e9cd537fc974'/>
<id>urn:sha1:b01c7f6b9c6ac837511e7bb75c15e9cd537fc974</id>
<content type='text'>
`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.
</content>
</entry>
<entry>
<title>test: add `#![warn(unreachable_pub)]`</title>
<updated>2025-01-20T17:46:29+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-01-09T21:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=939b7047a0495e461efa57fed828fedd06b1cdb4'/>
<id>urn:sha1:939b7047a0495e461efa57fed828fedd06b1cdb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>libtest: also measure time in Miri</title>
<updated>2024-04-15T07:50:42+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-04-06T12:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=510720e9fcb1181cc2e634fe6edddadf2d2c4993'/>
<id>urn:sha1:510720e9fcb1181cc2e634fe6edddadf2d2c4993</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused fields in some structures</title>
<updated>2024-03-12T09:59:40+00:00</updated>
<author>
<name>Arthur Carcano</name>
<email>arthur.carcano@ocamlpro.com</email>
</author>
<published>2024-01-03T16:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccd99b384e3fcd4b1f53f471cced72647bc7c445'/>
<id>urn:sha1:ccd99b384e3fcd4b1f53f471cced72647bc7c445</id>
<content type='text'>
The dead_code lint was previously eroneously missing those.
Since this lint bug has been fixed, the unused fields need
to be removed.
</content>
</entry>
<entry>
<title>libtest: Print timing information on WASI</title>
<updated>2024-03-11T16:36:35+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2024-03-06T20:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8fcc009f7d3d0dbe7fcee8e4df890e78c346378c'/>
<id>urn:sha1:8fcc009f7d3d0dbe7fcee8e4df890e78c346378c</id>
<content type='text'>
This commit updates the libtest conditionals to use `std::time::Instant`
on WASI targets where it's implemented. Previously all wasm targets
wouldn't use this type.
</content>
</entry>
<entry>
<title>rustc: implement support for `riscv32im_risc0_zkvm_elf`</title>
<updated>2024-01-22T18:07:36+00:00</updated>
<author>
<name>Erik Kaneda</name>
<email>erik@risczero.com</email>
</author>
<published>2023-11-16T00:57:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=966b94e0a2330255e30b687f165dc4f2e8de140a'/>
<id>urn:sha1:966b94e0a2330255e30b687f165dc4f2e8de140a</id>
<content type='text'>
This also adds changes in the rust test suite in order to get a few of them to
pass.

Co-authored-by: Frank Laub &lt;flaub@risc0.com&gt;
Co-authored-by: Urgau &lt;3616612+Urgau@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>add StaticBenchAsTestFn and DynBenchAsTestFn to convert benches to tests</title>
<updated>2023-05-26T12:57:38+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2023-05-26T10:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f7fd2e5f7b42a2e4407a56862006165a4a90703'/>
<id>urn:sha1:2f7fd2e5f7b42a2e4407a56862006165a4a90703</id>
<content type='text'>
Before this commit, both static and dynamic benches were converted to a
DynTestFn, with a boxed closure that ran the benchmarks exactly once.

While this worked, it conflicted with -Z panic-abort-tests as the flag
does not support dynamic tests. With this change, a StaticBenchFn is
converted to a StaticBenchAsTestFn, avoiding any dynamic test creation.
DynBenchFn is also converted to DynBenchAsTestFn for completeness.
</content>
</entry>
<entry>
<title>Implementing "&lt;test_binary&gt; --list --format json" #107307 #49359</title>
<updated>2023-03-15T18:20:20+00:00</updated>
<author>
<name>Partha P. Das</name>
<email>parthopdas@live.com</email>
</author>
<published>2023-02-08T02:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37207536327c10186b1b348cdc57354b35bcbba6'/>
<id>urn:sha1:37207536327c10186b1b348cdc57354b35bcbba6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Print why a test was ignored if it's the only test specified.</title>
<updated>2023-01-23T00:56:13+00:00</updated>
<author>
<name>Lenko Donchev</name>
<email>lenko.donchev@gmail.com</email>
</author>
<published>2023-01-12T11:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77133370ce04666af364c218ba2b2c7ccfb60065'/>
<id>urn:sha1:77133370ce04666af364c218ba2b2c7ccfb60065</id>
<content type='text'>
</content>
</entry>
</feed>
