<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-fail/task-spawn-barefn.rs, branch 1.25.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.25.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.25.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-09-30T21:02:44+00:00</updated>
<entry>
<title>Adding ignore-emscripten to failing tests.</title>
<updated>2016-09-30T21:02:44+00:00</updated>
<author>
<name>Ross Schulman</name>
<email>ross@rbs.io</email>
</author>
<published>2016-09-06T00:00:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2dfeac6907ab63a3261cfa66c04db239d138433'/>
<id>urn:sha1:b2dfeac6907ab63a3261cfa66c04db239d138433</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the tests broken by replacing `task` with `thread`</title>
<updated>2015-05-08T19:04:08+00:00</updated>
<author>
<name>Barosl Lee</name>
<email>vcs@barosl.com</email>
</author>
<published>2015-05-08T17:14:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b91ccffb0f72d78b208a495d8d0ffdcb630dff8'/>
<id>urn:sha1:9b91ccffb0f72d78b208a495d8d0ffdcb630dff8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Squeeze the last bits of `task`s in documentation in favor of `thread`</title>
<updated>2015-05-08T17:24:18+00:00</updated>
<author>
<name>Barosl Lee</name>
<email>vcs@barosl.com</email>
</author>
<published>2015-05-08T15:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff332b6467b2b93831c3f0ae3665e920ec725959'/>
<id>urn:sha1:ff332b6467b2b93831c3f0ae3665e920ec725959</id>
<content type='text'>
An automated script was run against the `.rs` and `.md` files,
subsituting every occurrence of `task` with `thread`. In the `.rs`
files, only the texts in the comment blocks were affected.
</content>
</entry>
<entry>
<title>Fallout from stabilization</title>
<updated>2015-02-17T23:14:17+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2015-02-17T23:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0de2b46e9bcca93971ef64d6ecdef872633f246'/>
<id>urn:sha1:d0de2b46e9bcca93971ef64d6ecdef872633f246</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fallout from stabilization</title>
<updated>2015-01-06T22:57:52+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2015-01-06T05:59:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=caca9b2e7109a148d100a3c6851241d3815da3db'/>
<id>urn:sha1:caca9b2e7109a148d100a3c6851241d3815da3db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove deprecated functionality</title>
<updated>2015-01-04T07:43:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-02T07:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d8d06f86b48520814596bd5363d2b82bc619774'/>
<id>urn:sha1:7d8d06f86b48520814596bd5363d2b82bc619774</id>
<content type='text'>
This removes a large array of deprecated functionality, regardless of how
recently it was deprecated. The purpose of this commit is to clean out the
standard libraries and compiler for the upcoming alpha release.

Some notable compiler changes were to enable warnings for all now-deprecated
command line arguments (previously the deprecated versions were silently
accepted) as well as removing deriving(Zero) entirely (the trait was removed).

The distribution no longer contains the libtime or libregex_macros crates. Both
of these have been deprecated for some time and are available externally.
</content>
</entry>
<entry>
<title>Rename fail! to panic!</title>
<updated>2014-10-29T15:43:07+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2014-10-09T19:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7828c3dd2858d8f3a0448484d8093e22719dbda0'/>
<id>urn:sha1:7828c3dd2858d8f3a0448484d8093e22719dbda0</id>
<content type='text'>
https://github.com/rust-lang/rfcs/pull/221

The current terminology of "task failure" often causes problems when
writing or speaking about code. You often want to talk about the
possibility of an operation that returns a Result "failing", but cannot
because of the ambiguity with task failure. Instead, you have to speak
of "the failing case" or "when the operation does not succeed" or other
circumlocutions.

Likewise, we use a "Failure" header in rustdoc to describe when
operations may fail the task, but it would often be helpful to separate
out a section describing the "Err-producing" case.

We have been steadily moving away from task failure and toward Result as
an error-handling mechanism, so we should optimize our terminology
accordingly: Result-producing functions should be easy to describe.

To update your code, rename any call to `fail!` to `panic!` instead.
Assuming you have not created your own macro named `panic!`, this
will work on UNIX based systems:

    grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g'

You can of course also do this by hand.

[breaking-change]
</content>
</entry>
<entry>
<title>librustc: Match trait self types exactly.</title>
<updated>2014-06-28T18:18:37+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-06-26T01:18:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05e3248a7974f55b64f75a2483b37ff8c001a4ff'/>
<id>urn:sha1:05e3248a7974f55b64f75a2483b37ff8c001a4ff</id>
<content type='text'>
This can break code that looked like:

    impl Foo for Box&lt;Any&gt; {
        fn f(&amp;self) { ... }
    }

    let x: Box&lt;Any + Send&gt; = ...;
    x.f();

Change such code to:

    impl Foo for Box&lt;Any&gt; {
        fn f(&amp;self) { ... }
    }

    let x: Box&lt;Any&gt; = ...;
    x.f();

That is, upcast before calling methods.

This is a conservative solution to #5781. A more proper treatment (see
the xfail'd `trait-contravariant-self.rs`) would take variance into
account. This change fixes the soundness hole.

Some library changes had to be made to make this work. In particular,
`Box&lt;Any&gt;` is no longer showable, and only `Box&lt;Any+Send&gt;` is showable.
Eventually, this restriction can be lifted; for now, it does not prove
too onerous, because `Any` is only used for propagating the result of
task failure.

This patch also adds a test for the variance inference work in #12828,
which accidentally landed as part of DST.

Closes #5781.

[breaking-change]
</content>
</entry>
<entry>
<title>Remove linked failure from the runtime</title>
<updated>2013-11-25T05:21:12+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-11-22T00:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=acca9e3834842ee8d8104abe9b8b9bb88861793c'/>
<id>urn:sha1:acca9e3834842ee8d8104abe9b8b9bb88861793c</id>
<content type='text'>
The reasons for doing this are:

* The model on which linked failure is based is inherently complex
* The implementation is also very complex, and there are few remaining who
  fully understand the implementation
* There are existing race conditions in the core context switching function of
  the scheduler, and possibly others.
* It's unclear whether this model of linked failure maps well to a 1:1 threading
  model

Linked failure is often a desired aspect of tasks, but we would like to take a
much more conservative approach in re-implementing linked failure if at all.

Closes #8674
Closes #8318
Closes #8863
</content>
</entry>
<entry>
<title>Fix warnings it tests</title>
<updated>2013-08-17T15:42:35+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-08-17T15:37:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad5c67685332dc0e45d459b45749e76c93270988'/>
<id>urn:sha1:ad5c67685332dc0e45d459b45749e76c93270988</id>
<content type='text'>
</content>
</entry>
</feed>
