<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/alloc-error, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak wording of fn call with wrong number of args</title>
<updated>2023-01-05T03:02:10+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-01-05T03:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5393c6bbd172bb87b49033e755f538228b14440b'/>
<id>urn:sha1:5393c6bbd172bb87b49033e755f538228b14440b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Account for multiple multiline spans with empty padding</title>
<updated>2022-12-29T17:13:40+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2022-12-27T19:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af74ca0666814e6c448259f2ab796435ababb664'/>
<id>urn:sha1:af74ca0666814e6c448259f2ab796435ababb664</id>
<content type='text'>
Instead of

```
LL |    fn oom(
   |  __^
   | | _|
   | ||
LL | || ) {
   | ||_-
LL | |  }
   | |__^
```

emit

```
LL | // fn oom(
LL | || ) {
   | ||_-
LL | |  }
   | |__^
   ```
</content>
</entry>
<entry>
<title>Make some diagnostics not depend on the source of what they reference being available</title>
<updated>2022-12-13T09:48:22+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-12-09T15:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb26b35b12d810d7a8215869d9e434c4b0c7f25c'/>
<id>urn:sha1:cb26b35b12d810d7a8215869d9e434c4b0c7f25c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak output</title>
<updated>2022-11-28T08:11:12+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2022-11-23T22:51:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f64432a3933475321d0083b1876d07b2f06cd7c'/>
<id>urn:sha1:6f64432a3933475321d0083b1876d07b2f06cd7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change multiline span ASCII art visual order</title>
<updated>2022-11-28T08:11:12+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2022-11-23T22:28:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab04080b56448c4bcd7e5b79215a1097e1a9b217'/>
<id>urn:sha1:ab04080b56448c4bcd7e5b79215a1097e1a9b217</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewrite implementation of `#[alloc_error_handler]`</title>
<updated>2022-10-31T16:32:57+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2022-10-14T01:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56074b5231ceef266a1097ea355f62c951e1b468'/>
<id>urn:sha1:56074b5231ceef266a1097ea355f62c951e1b468</id>
<content type='text'>
The new implementation doesn't use weak lang items and instead changes
`#[alloc_error_handler]` to an attribute macro just like
`#[global_allocator]`.

The attribute will generate the `__rg_oom` function which is called by
the compiler-generated `__rust_alloc_error_handler`. If no `__rg_oom`
function is defined in any crate then the compiler shim will call
`__rdl_oom` in the alloc crate which will simply panic.

This also fixes link errors with `-C link-dead-code` with
`default_alloc_error_handler`: `__rg_oom` was previously defined in the
alloc crate and would attempt to reference the `oom` lang item, even if
it didn't exist. This worked as long as `__rg_oom` was excluded from
linking since it was not called.

This is a prerequisite for the stabilization of
`default_alloc_error_handler` (#102318).
</content>
</entry>
<entry>
<title>handle core dumps output in qemu user mode</title>
<updated>2022-10-18T07:56:32+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2022-10-10T14:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77bf2b9694952dab8e7d7e8c0bfcb05ee74239c3'/>
<id>urn:sha1:77bf2b9694952dab8e7d7e8c0bfcb05ee74239c3</id>
<content type='text'>
In addition to the whole-system emulation/virtualization, QEMU also
supports user-mode emulation, where the emulation happens as a normal
process inside the parent system. This allows running most tests by
simply spawning remote-test-server inside user-mode emulation.

Unfortunately, QEMU always writes its own message in addition to the
system one when a core dump happens, which breaks a few tests which
match on the exact output of the system.

This PR changes those tests to strip the (possible) QEMU output before
checking if the output is expected.
</content>
</entry>
<entry>
<title>Cleanup feature gates.</title>
<updated>2022-03-03T17:50:28+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-01-19T15:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27d8cd7db046746bbfbb0bd3e1df40757cabb1fe'/>
<id>urn:sha1:27d8cd7db046746bbfbb0bd3e1df40757cabb1fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move some tests to more reasonable directories</title>
<updated>2021-11-14T17:38:42+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2021-11-14T17:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab5434f9b8d3937fe33f813b3f8e1a43a4657781'/>
<id>urn:sha1:ab5434f9b8d3937fe33f813b3f8e1a43a4657781</id>
<content type='text'>
</content>
</entry>
</feed>
