<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/allocator/no_std-alloc-error-handler-default.rs, branch 1.49.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.49.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.49.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-10-02T07:00:29+00:00</updated>
<entry>
<title>Implement Make `handle_alloc_error` default to panic (for no_std + liballoc)</title>
<updated>2020-10-02T07:00:29+00:00</updated>
<author>
<name>Harald Hoyer</name>
<email>harald@redhat.com</email>
</author>
<published>2020-09-07T08:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cadd12b5f020b9b2c7bb0c5e7078b81fbdcfb6d8'/>
<id>urn:sha1:cadd12b5f020b9b2c7bb0c5e7078b81fbdcfb6d8</id>
<content type='text'>
Related: https://github.com/rust-lang/rust/issues/66741

Guarded with `#![feature(default_alloc_error_handler)]` a default
`alloc_error_handler` is called, if a custom allocator is used and no
other custom `#[alloc_error_handler]` is defined.

The panic message does not contain the size anymore, because it would
pull in the fmt machinery, which would blow up the code size
significantly.
</content>
</entry>
</feed>
