<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsync, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-11-24T18:51:39+00:00</updated>
<entry>
<title>Merge libsync into libstd</title>
<updated>2014-11-24T18:51:39+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2014-11-23T20:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=985acfdb67d550d0259fcdcfbeed0a86ec3da9d0'/>
<id>urn:sha1:985acfdb67d550d0259fcdcfbeed0a86ec3da9d0</id>
<content type='text'>
This patch merges the `libsync` crate into `libstd`, undoing part of the
facade. This is in preparation for ultimately merging `librustrt`, as
well as the upcoming rewrite of `sync`.

Because this removes the `libsync` crate, it is a:

[breaking-change]

However, all uses of `libsync` should be able to reroute through
`std::sync` and `std::comm` instead.
</content>
</entry>
<entry>
<title>Require &lt;T: Send&gt; for AtomicOption</title>
<updated>2014-11-23T18:47:08+00:00</updated>
<author>
<name>Keegan McAllister</name>
<email>kmcallister@mozilla.com</email>
</author>
<published>2014-11-23T18:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26c93433dafaabfd6f61d15c03fde68c9f214bf5'/>
<id>urn:sha1:26c93433dafaabfd6f61d15c03fde68c9f214bf5</id>
<content type='text'>
Fixes #19247.
</content>
</entry>
<entry>
<title>Fallout from namespaced enums</title>
<updated>2014-11-21T01:19:24+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2014-11-17T23:27:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=243bfc277e0f222f81d4afe1f6f28b9fd1ffe6b4'/>
<id>urn:sha1:243bfc277e0f222f81d4afe1f6f28b9fd1ffe6b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make most of std::rt private</title>
<updated>2014-11-21T01:19:24+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2014-11-15T00:30:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6987ad22e46f55b12d8749be7522f4578d227c62'/>
<id>urn:sha1:6987ad22e46f55b12d8749be7522f4578d227c62</id>
<content type='text'>
Previously, the entire runtime API surface was publicly exposed, but
that is neither necessary nor desirable. This commit hides most of the
module, using librustrt directly as needed. The arrangement will need to
be revisited when rustrt is pulled into std.

[breaking-change]
</content>
</entry>
<entry>
<title>Fallout from libgreen and libnative removal</title>
<updated>2014-11-21T01:19:24+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2014-11-14T22:38:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40c78ab037c70d61eb4f8c95c7a4fec8f098644b'/>
<id>urn:sha1:40c78ab037c70d61eb4f8c95c7a4fec8f098644b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewrite sync::mutex as thin layer over native mutexes</title>
<updated>2014-11-21T01:19:24+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2014-11-14T22:33:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a68ec98166bf638c6cbf4036f51036012695718d'/>
<id>urn:sha1:a68ec98166bf638c6cbf4036f51036012695718d</id>
<content type='text'>
Previously, sync::mutex had to split between green and native runtime
systems and thus could not simply use the native mutex facility.

This commit rewrites sync::mutex to link directly to native mutexes; in
the future, the two will probably be coalesced into a single
module (once librustrt is pulled into libstd wholesale).
</content>
</entry>
<entry>
<title>Switch to purely namespaced enums</title>
<updated>2014-11-17T15:35:51+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2014-11-06T08:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dcd2157403163789aaf21a9ab3c4d30a7c6494d'/>
<id>urn:sha1:3dcd2157403163789aaf21a9ab3c4d30a7c6494d</id>
<content type='text'>
This breaks code that referred to variant names in the same namespace as
their enum. Reexport the variants in the old location or alter code to
refer to the new locations:

```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
=&gt;
```
pub use self::Foo::{A, B};

pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
or
```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = Foo::A;
}
```

[breaking-change]
</content>
</entry>
<entry>
<title>auto merge of #18880 : barosl/rust/doc-fail-to-panic, r=alexcrichton</title>
<updated>2014-11-14T18:17:28+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2014-11-14T18:17:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e4e55aebc1a71b6674c00b8604efa6b1e2e52cd'/>
<id>urn:sha1:1e4e55aebc1a71b6674c00b8604efa6b1e2e52cd</id>
<content type='text'>
I found some occurrences of "failure" and "fails" in the documentation. I changed them to "panics" if it means a task panic. Otherwise I left it as is, or changed it to "errors" to clearly distinguish them.

Also, I made a minor fix that is breaking the layout of a module page. "Example" is shown in an irrelevant place from the following page: http://doc.rust-lang.org/std/os/index.html
</content>
</entry>
<entry>
<title>Create UnsignedInt trait and deprecate free functions</title>
<updated>2014-11-12T15:02:44+00:00</updated>
<author>
<name>Brendan Zabarauskas</name>
<email>bjzaba@yahoo.com.au</email>
</author>
<published>2014-11-09T06:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1eb68e8d7d2883c70304021d5443c96bca18abb'/>
<id>urn:sha1:d1eb68e8d7d2883c70304021d5443c96bca18abb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix remaining documentation to reflect fail!() -&gt; panic!()</title>
<updated>2014-11-11T18:36:09+00:00</updated>
<author>
<name>Barosl Lee</name>
<email>vcs@barosl.com</email>
</author>
<published>2014-11-11T18:36:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8bf77fa786aae4993fa923f0826529bfb9ce1166'/>
<id>urn:sha1:8bf77fa786aae4993fa923f0826529bfb9ce1166</id>
<content type='text'>
Throughout the docs, "failure" was replaced with "panics" if it means a
task panic. Otherwise, it remained as is, or changed to "errors" to
clearly differentiate it from a task panic.
</content>
</entry>
</feed>
