<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/allocator-alloc-one.rs, branch 1.34.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-12-26T04:08:33+00:00</updated>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow various lints as part of ui-ifying `src/test/run-pass` suite.</title>
<updated>2018-09-21T14:21:37+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2018-09-14T10:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9f2c2de921c57abf75a14ed4eda0a0ec89e90e9'/>
<id>urn:sha1:c9f2c2de921c57abf75a14ed4eda0a0ec89e90e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename OOM to allocation error</title>
<updated>2018-06-18T19:41:24+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-06-13T22:32:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2b789bd0570983e82533f9ed30c80312ac334694'/>
<id>urn:sha1:2b789bd0570983e82533f9ed30c80312ac334694</id>
<content type='text'>
The acronym is not descriptive unless one has seen it before.

* Rename the `oom` function to `handle_alloc_error`. It was **stabilized in 1.28**, so if we do this at all we need to land it this cycle.
* Rename `set_oom_hook` to `set_alloc_error_hook`
* Rename `take_oom_hook` to `take_alloc_error_hook`

Bikeshed: `alloc` v.s. `allocator`, `error` v.s. `failure`
</content>
</entry>
<entry>
<title>Pass a `Layout` to `oom`</title>
<updated>2018-05-29T20:35:48+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-05-15T00:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f4ef003ac1691d04f0ce519d1d78696689534aa'/>
<id>urn:sha1:0f4ef003ac1691d04f0ce519d1d78696689534aa</id>
<content type='text'>
As discussed in
https://github.com/rust-lang/rust/issues/49668#issuecomment-384893456
and subsequent, there are use-cases where the OOM handler needs to know
the size of the allocation that failed. The alignment might also be a
cause for allocation failure, so providing it as well can be useful.
</content>
</entry>
<entry>
<title>Replace GlobalAlloc::oom with a lang item</title>
<updated>2018-04-22T17:08:17+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2018-04-21T04:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e513c1bd314bbeb6295a7a759de8833b52ff854d'/>
<id>urn:sha1:e513c1bd314bbeb6295a7a759de8833b52ff854d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace remaining uses of deprecated Heap with Global</title>
<updated>2018-04-14T07:48:27+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-14T07:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e35499ca15c205a0d6e6d579a69e1100ca8e585b'/>
<id>urn:sha1:e35499ca15c205a0d6e6d579a69e1100ca8e585b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace remaining uses of deprecated std::heap with std::alloc</title>
<updated>2018-04-14T07:47:38+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-14T07:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c8e9b975139d7f312ba55ef7753fd800ac3b761'/>
<id>urn:sha1:4c8e9b975139d7f312ba55ef7753fd800ac3b761</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the now-unit-struct AllocErr parameter of oom()</title>
<updated>2018-04-12T20:53:13+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-03T14:00:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=157ff8cd0562eefdd7aa296395c38a7bc259a4b9'/>
<id>urn:sha1:157ff8cd0562eefdd7aa296395c38a7bc259a4b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace Unique&lt;T&gt; with NonZero&lt;T&gt; in Alloc trait</title>
<updated>2018-01-20T09:55:16+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2017-12-22T18:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb03a49c2501c52401b3c987fd455818de1736f2'/>
<id>urn:sha1:fb03a49c2501c52401b3c987fd455818de1736f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Implement the #[global_allocator] attribute</title>
<updated>2017-07-05T21:37:01+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-06-03T21:54:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=695dee063bcd40f154bb27b7beafcb3d4dd775ac'/>
<id>urn:sha1:695dee063bcd40f154bb27b7beafcb3d4dd775ac</id>
<content type='text'>
This PR is an implementation of [RFC 1974] which specifies a new method of
defining a global allocator for a program. This obsoletes the old
`#![allocator]` attribute and also removes support for it.

[RFC 1974]: https://github.com/rust-lang/rfcs/pull/197

The new `#[global_allocator]` attribute solves many issues encountered with the
`#![allocator]` attribute such as composition and restrictions on the crate
graph itself. The compiler now has much more control over the ABI of the
allocator and how it's implemented, allowing much more freedom in terms of how
this feature is implemented.

cc #27389
</content>
</entry>
</feed>
