<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc/alloc.rs, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-04-27T12:24:17+00:00</updated>
<entry>
<title>Auto merge of #50097 - glandium:box_free, r=nikomatsakis</title>
<updated>2018-04-27T12:24:17+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-04-27T12:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71d3dac4a86d192c2c80948621859da3b363fa50'/>
<id>urn:sha1:71d3dac4a86d192c2c80948621859da3b363fa50</id>
<content type='text'>
Partial future-proofing for Box&lt;T, A&gt;

In some ways, this is similar to @eddyb's PR #47043 that went stale, but doesn't cover everything. Notably, this still leaves Box internalized as a pointer in places, so practically speaking, only ZSTs can be practically added to the Box type with the changes here (the compiler ICEs otherwise).

The Box type is not changed here, that's left for the future because I want to test that further first, but this puts things in place in a way that hopefully will make things easier.
</content>
</entry>
<entry>
<title>Switch box_free to take the destructured contents of Box</title>
<updated>2018-04-25T02:39:07+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-20T01:24:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd8c177d49c95d94f163e9bb3c3397f38ab72640'/>
<id>urn:sha1:bd8c177d49c95d94f163e9bb3c3397f38ab72640</id>
<content type='text'>
As of now, Box only contains a Unique pointer, so this is the sole
argument to box_free. Consequently, we remove the code supporting
the previous box_free signature. We however keep the old definition
for bootstrapping purpose.
</content>
</entry>
<entry>
<title>Remove Alloc::oom</title>
<updated>2018-04-22T17:08:49+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2018-04-21T16:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e8f683476d5a9d72c6c1e9383a519cf0fb27494'/>
<id>urn:sha1:9e8f683476d5a9d72c6c1e9383a519cf0fb27494</id>
<content type='text'>
</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>Rename alloc::Void to alloc::Opaque</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-11T15:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f607a3872addf380846cae28661a777ec3e3c9a2'/>
<id>urn:sha1:f607a3872addf380846cae28661a777ec3e3c9a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove conversions for allocated pointers</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-11T14:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ed297777599081d11c4a337cf19c9b1a1112136b'/>
<id>urn:sha1:ed297777599081d11c4a337cf19c9b1a1112136b</id>
<content type='text'>
One was now unused, and `NonNull::new(…).ok_or(AllocErr)` feels short enough
for the few cases that need the other conversion.
</content>
</entry>
<entry>
<title>Use NonNull&lt;Void&gt; instead of *mut u8 in the Alloc trait</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-02T23:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fddf51ee0b9765484fc316dbf3d4feb8ceea715d'/>
<id>urn:sha1:fddf51ee0b9765484fc316dbf3d4feb8ceea715d</id>
<content type='text'>
Fixes #49608
</content>
</entry>
<entry>
<title>impl GlobalAlloc for Global</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-04T17:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd242ee64c5488e64e2bb677d90f2460e017b7cb'/>
<id>urn:sha1:fd242ee64c5488e64e2bb677d90f2460e017b7cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restore Global.oom() functionality</title>
<updated>2018-04-12T20:53:21+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-04T16:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eae0d468932660ca383e35bb9d8b0cb4943a82ae'/>
<id>urn:sha1:eae0d468932660ca383e35bb9d8b0cb4943a82ae</id>
<content type='text'>
… now that #[global_allocator] does not define a symbol for it
</content>
</entry>
<entry>
<title>realloc with a new size only, not a full new layout.</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-04T15:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c957e99b305ecee113442a7ce0edd6b565200ca9'/>
<id>urn:sha1:c957e99b305ecee113442a7ce0edd6b565200ca9</id>
<content type='text'>
Changing the alignment with realloc is not supported.
</content>
</entry>
</feed>
