<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/tests/ptr.rs, branch 1.31.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.31.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.31.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-07-25T01:24:31+00:00</updated>
<entry>
<title>Add missing dyn</title>
<updated>2018-07-25T01:24:31+00:00</updated>
<author>
<name>Tatsuyuki Ishi</name>
<email>ishitatsuyuki@gmail.com</email>
</author>
<published>2018-07-13T05:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=66c4dc9769b7ae456fe2960dc5a1e037b2432184'/>
<id>urn:sha1:66c4dc9769b7ae456fe2960dc5a1e037b2432184</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix align_offset_stride1 &amp; align_to_simple tests</title>
<updated>2018-05-17T20:13:43+00:00</updated>
<author>
<name>Simonas Kazlauskas</name>
<email>git@kazlauskas.me</email>
</author>
<published>2018-05-17T15:02:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59bb0fe66ea6d80c5e1466b9609887e4cf7cde47'/>
<id>urn:sha1:59bb0fe66ea6d80c5e1466b9609887e4cf7cde47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement [T]::align_to</title>
<updated>2018-05-17T20:13:08+00:00</updated>
<author>
<name>Simonas Kazlauskas</name>
<email>git@kazlauskas.me</email>
</author>
<published>2018-04-29T14:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=680031b0164a94aaeee17a1d8c3027e6e8865a4c'/>
<id>urn:sha1:680031b0164a94aaeee17a1d8c3027e6e8865a4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark Unique as perma-unstable, with the feature renamed to ptr_internals.</title>
<updated>2018-01-20T10:09:23+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2017-12-22T18:29:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c97c1f7dc3b8c2e5e1c40681094c45cf55be5832'/>
<id>urn:sha1:c97c1f7dc3b8c2e5e1c40681094c45cf55be5832</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `T: Sized` on `ptr::is_null()`</title>
<updated>2017-11-19T08:33:56+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2017-10-10T18:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e0f58c6a11c7990a302b47c488dc2f13fab7b9a1'/>
<id>urn:sha1:e0f58c6a11c7990a302b47c488dc2f13fab7b9a1</id>
<content type='text'>
This reverts commit 604f049cd5060129cf14f7bd340d442811345ea8.

This is purely a revert of cuviper's revert "Restore `T: Sized` on
`ptr::is_null`". So double revert means this is code written by cuviper!
</content>
</entry>
<entry>
<title>Restore `T: Sized` on `ptr::is_null`</title>
<updated>2017-10-10T18:35:41+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2017-10-10T18:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=604f049cd5060129cf14f7bd340d442811345ea8'/>
<id>urn:sha1:604f049cd5060129cf14f7bd340d442811345ea8</id>
<content type='text'>
The exact semantics of `is_null` on unsized pointers are still debatable,
especially for trait objects.  It may be legal to call `*mut self`
methods on a trait object someday, as with Go interfaces, so `is_null`
might need to validate the vtable pointer too.

For `as_ref` and `as_mut`, we're assuming that you cannot have a non-null
data pointer with a null vtable, so casting the unsized check is fine.
</content>
</entry>
<entry>
<title>Use unsized coercions for null ptr tests</title>
<updated>2017-09-30T21:45:18+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2017-09-30T21:45:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40a678d8dbaea49a2e9f5451f4db68359a09f67a'/>
<id>urn:sha1:40a678d8dbaea49a2e9f5451f4db68359a09f67a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid the UB of a null reference to a slice</title>
<updated>2017-09-29T20:19:20+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2017-09-29T20:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b2e09ffbbb69402f8881824f8689f785695a780'/>
<id>urn:sha1:8b2e09ffbbb69402f8881824f8689f785695a780</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `T: Sized` on `ptr::is_null()`, `as_ref()`, `as_mut()`</title>
<updated>2017-09-29T19:36:32+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2017-09-29T19:36:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3580c4c58940ad5d62a068609b9b696e8eb31309'/>
<id>urn:sha1:3580c4c58940ad5d62a068609b9b696e8eb31309</id>
<content type='text'>
`NonZero::is_zero()` was already casting all pointers to thin `*mut u8`
to check for null.  It seems reasonable to apply that for `is_null()` in
general, and then unsized fat pointers can also be used with `as_ref()`
and `as_mut()` to get fat references.
</content>
</entry>
<entry>
<title>Rename {NonZero,Shared,Unique}::new to new_unchecked</title>
<updated>2017-07-22T18:38:16+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2017-06-28T23:03:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a08ad0443631ca86e61526916fb4ee61fe1abce'/>
<id>urn:sha1:0a08ad0443631ca86e61526916fb4ee61fe1abce</id>
<content type='text'>
</content>
</entry>
</feed>
