<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/panics/short-ice-remove-middle-frames-2.run.stderr, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-06T23:59:47+00:00</updated>
<entry>
<title>Print thread ID in panic message if thread name is unknown</title>
<updated>2025-08-06T23:59:47+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2023-09-11T04:59:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=289fe36d373c5a13fa7f1b93f39ff88425ab2351'/>
<id>urn:sha1:289fe36d373c5a13fa7f1b93f39ff88425ab2351</id>
<content type='text'>
`panic!` does not print any identifying information for threads that are
unnamed. However, in many cases, the thread ID can be determined.

This changes the panic message from something like this:

    thread '&lt;unnamed&gt;' panicked at src/main.rs:3:5:
    explicit panic

To something like this:

    thread '&lt;unnamed&gt;' (0xff9bf) panicked at src/main.rs:3:5:
    explicit panic

Stack overflow messages are updated as well.

This change applies to both named and unnamed threads. The ID printed is
the OS integer thread ID rather than the Rust thread ID, which should
also be what debuggers print.
</content>
</entry>
<entry>
<title>tests: remove redundant `//@ ignore-{wasm,wasm32,emscripten}`</title>
<updated>2025-02-03T14:27:17+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-02-03T10:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=190a8a65dbc520aad88154c0e9d187fdf5880f43'/>
<id>urn:sha1:190a8a65dbc520aad88154c0e9d187fdf5880f43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Try to write the panic message with a single `write_all` call</title>
<updated>2025-01-01T14:58:29+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2024-03-15T18:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bf85c25eceee6172ed3892570f36b5d06d5177f'/>
<id>urn:sha1:4bf85c25eceee6172ed3892570f36b5d06d5177f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more `begin_panic` normalizations to panic backtrace tests</title>
<updated>2024-12-26T07:15:30+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-26T04:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1511de3c9e7716a4fd7aa7ea53140b2c44c8a4dd'/>
<id>urn:sha1:1511de3c9e7716a4fd7aa7ea53140b2c44c8a4dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Share inline(never) generics across crates</title>
<updated>2024-11-28T18:43:05+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2024-11-23T18:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a216a25d143e88eefac2655c1fce042571e1f6e'/>
<id>urn:sha1:4a216a25d143e88eefac2655c1fce042571e1f6e</id>
<content type='text'>
This reduces code sizes and better respects programmer intent when
marking inline(never). Previously such a marking was essentially ignored
for generic functions, as we'd still inline them in remote crates.
</content>
</entry>
<entry>
<title>Update test directives for `wasm32-wasip1`</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:44:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf6d6050f7d1ea62c9aae54ddd345106b6e31382'/>
<id>urn:sha1:cf6d6050f7d1ea62c9aae54ddd345106b6e31382</id>
<content type='text'>
* The WASI targets deal with the `main` symbol a bit differently than
  native so some `codegen` and `assembly` tests have been ignored.
* All `ignore-emscripten` directives have been updated to
  `ignore-wasm32` to be more clear that all wasm targets are ignored and
  it's not just Emscripten.
* Most `ignore-wasm32-bare` directives are now gone.
* Some ignore directives for wasm were switched to `needs-unwind`
  instead.
* Many `ignore-wasm32*` directives are removed as the tests work with
  WASI as opposed to `wasm32-unknown-unknown`.
</content>
</entry>
<entry>
<title>mark relevant tests as requiring unwinding</title>
<updated>2023-09-29T12:24:40+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2023-06-14T10:19:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3853774df8d8217fb9788be3c0636b9a06da740f'/>
<id>urn:sha1:3853774df8d8217fb9788be3c0636b9a06da740f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc</title>
<updated>2023-08-01T14:15:09+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-08-01T14:15:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=828bdc2c26f5c95773c4ecf72870919f16417b66'/>
<id>urn:sha1:828bdc2c26f5c95773c4ecf72870919f16417b66</id>
<content type='text'>
Change default panic handler message format.

This changes the default panic hook's message format from:

```
thread '{thread}' panicked at '{message}', {location}
```

to

```
thread '{thread}' panicked at {location}:
{message}
```

This puts the message on its own line without surrounding quotes, making it easiser to read. For example:

Before:
```
thread 'main' panicked at 'env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`', src/main.rs:4:6
```
After:
```
thread 'main' panicked at src/main.rs:4:6:
env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`
```

---

See this PR by `@nyurik,` which does that for only multi-line messages (specifically because of `assert_eq`): https://github.com/rust-lang/rust/pull/111071

This is the change that does that for *all* panic messages.
</content>
</entry>
<entry>
<title>print omitted frames count for short backtrace mode</title>
<updated>2023-07-29T12:36:05+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2023-05-21T18:27:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90db98d07484565ab501a35b3077831487447cab'/>
<id>urn:sha1:90db98d07484565ab501a35b3077831487447cab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change default panic handler message format.</title>
<updated>2023-07-29T09:42:50+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2023-06-20T17:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0e729404da1e741e26a398192fcd1614514117cf'/>
<id>urn:sha1:0e729404da1e741e26a398192fcd1614514117cf</id>
<content type='text'>
</content>
</entry>
</feed>
