<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys, branch 1.7.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.7.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-01-16T19:03:10+00:00</updated>
<entry>
<title>std: Stabilize APIs for the 1.7 release</title>
<updated>2016-01-16T19:03:10+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-01-15T18:07:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a4f43b9b6558ab74b3e849a7770dc193bc1847b'/>
<id>urn:sha1:9a4f43b9b6558ab74b3e849a7770dc193bc1847b</id>
<content type='text'>
This commit stabilizes and deprecates the FCP (final comment period) APIs for
the upcoming 1.7 beta release. The specific APIs which changed were:

Stabilized

* `Path::strip_prefix` (renamed from `relative_from`)
* `path::StripPrefixError` (new error type returned from `strip_prefix`)
* `Ipv4Addr::is_loopback`
* `Ipv4Addr::is_private`
* `Ipv4Addr::is_link_local`
* `Ipv4Addr::is_multicast`
* `Ipv4Addr::is_broadcast`
* `Ipv4Addr::is_documentation`
* `Ipv6Addr::is_unspecified`
* `Ipv6Addr::is_loopback`
* `Ipv6Addr::is_unique_local`
* `Ipv6Addr::is_multicast`
* `Vec::as_slice`
* `Vec::as_mut_slice`
* `String::as_str`
* `String::as_mut_str`
* `&lt;[T]&gt;::clone_from_slice` - the `usize` return value is removed
* `&lt;[T]&gt;::sort_by_key`
* `i32::checked_rem` (and other signed types)
* `i32::checked_neg` (and other signed types)
* `i32::checked_shl` (and other signed types)
* `i32::checked_shr` (and other signed types)
* `i32::saturating_mul` (and other signed types)
* `i32::overflowing_add` (and other signed types)
* `i32::overflowing_sub` (and other signed types)
* `i32::overflowing_mul` (and other signed types)
* `i32::overflowing_div` (and other signed types)
* `i32::overflowing_rem` (and other signed types)
* `i32::overflowing_neg` (and other signed types)
* `i32::overflowing_shl` (and other signed types)
* `i32::overflowing_shr` (and other signed types)
* `u32::checked_rem` (and other unsigned types)
* `u32::checked_neg` (and other unsigned types)
* `u32::checked_shl` (and other unsigned types)
* `u32::saturating_mul` (and other unsigned types)
* `u32::overflowing_add` (and other unsigned types)
* `u32::overflowing_sub` (and other unsigned types)
* `u32::overflowing_mul` (and other unsigned types)
* `u32::overflowing_div` (and other unsigned types)
* `u32::overflowing_rem` (and other unsigned types)
* `u32::overflowing_neg` (and other unsigned types)
* `u32::overflowing_shl` (and other unsigned types)
* `u32::overflowing_shr` (and other unsigned types)
* `ffi::IntoStringError`
* `CString::into_string`
* `CString::into_bytes`
* `CString::into_bytes_with_nul`
* `From&lt;CString&gt; for Vec&lt;u8&gt;`
* `From&lt;CString&gt; for Vec&lt;u8&gt;`
* `IntoStringError::into_cstring`
* `IntoStringError::utf8_error`
* `Error for IntoStringError`

Deprecated

* `Path::relative_from` - renamed to `strip_prefix`
* `Path::prefix` - use `components().next()` instead
* `os::unix::fs` constants - moved to the `libc` crate
* `fmt::{radix, Radix, RadixFmt}` - not used enough to stabilize
* `IntoCow` - conflicts with `Into` and may come back later
* `i32::{BITS, BYTES}` (and other integers) - not pulling their weight
* `DebugTuple::formatter` - will be removed
* `sync::Semaphore` - not used enough and confused with system semaphores

Closes #23284
cc #27709 (still lots more methods though)
Closes #27712
Closes #27722
Closes #27728
Closes #27735
Closes #27729
Closes #27755
Closes #27782
Closes #27798
</content>
</entry>
<entry>
<title>Auto merge of #30898 - petrochenkov:tvarfstab, r=alexcrichton</title>
<updated>2016-01-15T15:39:39+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-01-15T15:39:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e51661b888de8885732d33e9e17b5bc95b778729'/>
<id>urn:sha1:e51661b888de8885732d33e9e17b5bc95b778729</id>
<content type='text'>
This wasn't done in https://github.com/rust-lang/rust/pull/29083 because attributes weren't parsed on fields of tuple variant back then.

r? @alexcrichton
</content>
</entry>
<entry>
<title>Rollup merge of #30776 - antonblanchard:powerpc64_merge, r=alexcrichton</title>
<updated>2016-01-15T11:58:28+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-01-15T11:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7208d2500394ce51010641919f3f79a5ce88dba0'/>
<id>urn:sha1:7208d2500394ce51010641919f3f79a5ce88dba0</id>
<content type='text'>
This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
</content>
</entry>
<entry>
<title>Require stability annotations on fields of tuple variants</title>
<updated>2016-01-14T14:08:35+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2016-01-14T14:08:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ea7b88c9b8de8d750b42ceb46b3ec667e21e881'/>
<id>urn:sha1:8ea7b88c9b8de8d750b42ceb46b3ec667e21e881</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #30837 - semarie:openbsd-libc, r=alexcrichton</title>
<updated>2016-01-14T05:34:42+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-01-13T22:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=837a8decb6f7ca27718fa6f75391ba04f7d37753'/>
<id>urn:sha1:837a8decb6f7ca27718fa6f75391ba04f7d37753</id>
<content type='text'>
The following PR updates libc version to latest commits for correctly support openbsd.
It corrects several points in rustc to be compatible with libc changes.

r? @alexcrichton
</content>
</entry>
<entry>
<title>Rollup merge of #30801 - Amanieu:oom_print, r=alexcrichton</title>
<updated>2016-01-14T05:34:40+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-01-13T22:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f4ede44dec50d58d10349c12256de5f3b254ade'/>
<id>urn:sha1:6f4ede44dec50d58d10349c12256de5f3b254ade</id>
<content type='text'>
This adds the ability to override the default OOM behavior by setting a handler function. This is used by libstd to print a message when running out of memory instead of crashing with an obscure "illegal hardware instruction" error (at least on Linux).

Fixes #14674
</content>
</entry>
<entry>
<title>Add missing newline character to callers of dumb_print</title>
<updated>2016-01-13T20:40:25+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2016-01-09T19:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=98bef2b81823483a23beef48c7999a67206d261d'/>
<id>urn:sha1:98bef2b81823483a23beef48c7999a67206d261d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add powerpc64 and powerpc64le support</title>
<updated>2016-01-13T01:39:00+00:00</updated>
<author>
<name>Anton Blanchard</name>
<email>anton@samba.org</email>
</author>
<published>2015-12-28T21:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b372910476c40584a22cd253c69106775d0c93fa'/>
<id>urn:sha1:b372910476c40584a22cd253c69106775d0c93fa</id>
<content type='text'>
This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
</content>
</entry>
<entry>
<title>openbsd has dirent d_namlen field now</title>
<updated>2016-01-12T07:43:53+00:00</updated>
<author>
<name>Sébastien Marie</name>
<email>semarie@users.noreply.github.com</email>
</author>
<published>2015-12-23T17:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=667ee8a57b86f5f3e12ff9bd780d6f16dc4129d8'/>
<id>urn:sha1:667ee8a57b86f5f3e12ff9bd780d6f16dc4129d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make siginfo_si_addr() returns a usize</title>
<updated>2016-01-12T07:43:52+00:00</updated>
<author>
<name>Sébastien Marie</name>
<email>semarie@users.noreply.github.com</email>
</author>
<published>2015-12-23T10:32:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a545eac593b0ff3a6ad6c2d8390de51c30712089'/>
<id>urn:sha1:a545eac593b0ff3a6ad6c2d8390de51c30712089</id>
<content type='text'>
`siginfo_si_addr()` function is used once, and the returned value is
casted to `usize`. So make the function returns a `usize`.

it simplifies OpenBSD case, where the return type wouldn't be a `*mut
libc::c_void` but a `*mut libc::c_char`.
</content>
</entry>
</feed>
