<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/rt/mod.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-09-11T18:19:20+00:00</updated>
<entry>
<title>std: Internalize almost all of `std::rt`</title>
<updated>2015-09-11T18:19:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-09-08T22:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4be2026dfb507e5db919cc5df8fd934e05fa0b8'/>
<id>urn:sha1:f4be2026dfb507e5db919cc5df8fd934e05fa0b8</id>
<content type='text'>
This commit does some refactoring to make almost all of the `std::rt` private.
Specifically, the following items are no longer part of its API:

* DEFAULT_ERROR_CODE
* backtrace
* unwind
* args
* at_exit
* cleanup
* heap (this is just alloc::heap)
* min_stack
* util

The module is now tagged as `#[doc(hidden)]` as the only purpose it's serve is
an entry point for the `panic!` macro via the `begin_unwind` and
`begin_unwind_fmt` reexports.
</content>
</entry>
<entry>
<title>some more clippy-based improvements</title>
<updated>2015-09-07T22:36:29+00:00</updated>
<author>
<name>Andre Bogus</name>
<email>bogusandre@gmail.com</email>
</author>
<published>2015-09-07T22:36:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cca96545faf2cfc972cc67b83deae2a78935c43'/>
<id>urn:sha1:9cca96545faf2cfc972cc67b83deae2a78935c43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>at_exit: fix a typo of the doc comment</title>
<updated>2015-09-07T01:28:54+00:00</updated>
<author>
<name>Ryo Munakata</name>
<email>afpacket@gmail.com</email>
</author>
<published>2015-09-07T01:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e8758e44b40e0ed6cfdf19efe96972624a90758d'/>
<id>urn:sha1:e8758e44b40e0ed6cfdf19efe96972624a90758d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Run at_exit cleanup on process::exit</title>
<updated>2015-09-03T00:21:11+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-28T17:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=04c09f9466c57dca50c643c6099c0f9957d62220'/>
<id>urn:sha1:04c09f9466c57dca50c643c6099c0f9957d62220</id>
<content type='text'>
This adds a call to `rt::cleanup` on `process::exit` to make sure we clean up
after ourselves on the way out from Rust.

Closes #28065
</content>
</entry>
<entry>
<title>std: Add issues to all unstable features</title>
<updated>2015-08-16T01:09:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-13T17:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5f625620b5e4e29919400a0ee863942e5bf3d970'/>
<id>urn:sha1:5f625620b5e4e29919400a0ee863942e5bf3d970</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove all unstable deprecated functionality</title>
<updated>2015-08-12T21:55:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-12T00:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d90d3f36871a00023cc1f313f91e351c287ca15'/>
<id>urn:sha1:8d90d3f36871a00023cc1f313f91e351c287ca15</id>
<content type='text'>
This commit removes all unstable and deprecated functions in the standard
library. A release was recently cut (1.3) which makes this a good time for some
spring cleaning of the deprecated functions.
</content>
</entry>
<entry>
<title>Remove morestack support</title>
<updated>2015-08-10T23:35:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-07-27T20:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a3fdfbf674a08b7f6fd32c9124e52924a2f9a1c'/>
<id>urn:sha1:7a3fdfbf674a08b7f6fd32c9124e52924a2f9a1c</id>
<content type='text'>
This commit removes all morestack support from the compiler which entails:

* Segmented stacks are no longer emitted in codegen.
* We no longer build or distribute libmorestack.a
* The `stack_exhausted` lang item is no longer required

The only current use of the segmented stack support in LLVM is to detect stack
overflow. This is no longer really required, however, because we already have
guard pages for all threads and registered signal handlers watching for a
segfault on those pages (to print out a stack overflow message). Additionally,
major platforms (aka Windows) already don't use morestack.

This means that Rust is by default less likely to catch stack overflows because
if a function takes up more than one page of stack space it won't hit the guard
page. This is what the purpose of morestack was (to catch this case), but it's
better served with stack probes which have more cross platform support and no
runtime support necessary. Until LLVM supports this for all platform it looks
like morestack isn't really buying us much.

cc #16012 (still need stack probes)
Closes #26458 (a drive-by fix to help diagnostics on stack overflow)
</content>
</entry>
<entry>
<title>Implement Win64 eh_personality natively.</title>
<updated>2015-07-30T18:35:16+00:00</updated>
<author>
<name>Vadim Chugunov</name>
<email>vadimcn@gmail.com</email>
</author>
<published>2015-07-14T01:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6112b220782134c70516301f7dab2e05e3283f54'/>
<id>urn:sha1:6112b220782134c70516301f7dab2e05e3283f54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove msvc/valgrind headers</title>
<updated>2015-07-27T23:21:15+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-07-27T23:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf1ff56f3c8a7a55fa38bcdda3907147d25382a2'/>
<id>urn:sha1:cf1ff56f3c8a7a55fa38bcdda3907147d25382a2</id>
<content type='text'>
These aren't really used for anything any more, so there doesn't seem to be much
reason to leave them around in the `rt` directory. There was some limiting of
threads spawned or tests when run under valgrind, but very little is run under
valgrind nowadays so there's also no real use keeping these around.
</content>
</entry>
<entry>
<title>std: Be resilient to failure in pthread_getattr_np</title>
<updated>2015-07-21T16:18:30+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-07-16T18:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d68b152c3e2feb6ee18bdf2c992098376dbb528c'/>
<id>urn:sha1:d68b152c3e2feb6ee18bdf2c992098376dbb528c</id>
<content type='text'>
This can fail on linux for various reasons, such as the /proc filesystem not
being mounted. There are already many cases where we can't set up stack guards,
so just don't worry about this case and communicate that no guard was enabled.

I've confirmed that this allows the compiler to run in a chroot without /proc
mounted.

Closes #22642
</content>
</entry>
</feed>
