<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/rt/unwind, 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>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>Use `null()`/`null_mut()` instead of `0 as *const T`/`0 as *mut T`</title>
<updated>2015-09-03T06:49:50+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-09-03T06:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06fb196256bbab1e7aa4f43daf45321efaa6e0eb'/>
<id>urn:sha1:06fb196256bbab1e7aa4f43daf45321efaa6e0eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>switch core::simd to repr(simd) and deprecate it.</title>
<updated>2015-08-17T21:41:37+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2015-07-13T18:57:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c66554cab3518a9f5c36eafd622ca4c8a3fda631'/>
<id>urn:sha1:c66554cab3518a9f5c36eafd622ca4c8a3fda631</id>
<content type='text'>
This functionality will be available out of tree in the `simd` crate on
crates.io.

[breaking-change]
</content>
</entry>
<entry>
<title>trans: Re-enable unwinding on 64-bit MSVC</title>
<updated>2015-08-11T23:45:02+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-11T18:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b6b4f5a0e7a98d918d7c5a56e291c0063f257f1e'/>
<id>urn:sha1:b6b4f5a0e7a98d918d7c5a56e291c0063f257f1e</id>
<content type='text'>
This commit leverages the runtime support for DWARF exception info added
in #27210 to enable unwinding by default on 64-bit MSVC. This also additionally
adds a few minor fixes here and there in the test harness and such to get
`make check` entirely passing on 64-bit MSVC:

* The invocation of `maketest.py` now works with spaces/quotes in CC
* debuginfo tests are disabled on MSVC
* A link error for librustc was hacked around (see #27438)
</content>
</entry>
<entry>
<title>Auto merge of #27338 - alexcrichton:remove-morestack, r=brson</title>
<updated>2015-08-10T23:40:54+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-08-10T23:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5aca49c693c9be3064d9e6db9473b1fa76834b79'/>
<id>urn:sha1:5aca49c693c9be3064d9e6db9473b1fa76834b79</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)

r? @brson 
</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>Better FFI discipline</title>
<updated>2015-08-05T22:05:19+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-08-05T21:50:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05a814279b12beaf80aa636667199a80824d5f62'/>
<id>urn:sha1:05a814279b12beaf80aa636667199a80824d5f62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix compile errors for ARM.</title>
<updated>2015-08-03T04:15:01+00:00</updated>
<author>
<name>Vadim Chugunov</name>
<email>vadimcn@gmail.com</email>
</author>
<published>2015-08-03T04:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=96d1db2b1a43a149a1d0436a03a72aa01a39efd2'/>
<id>urn:sha1:96d1db2b1a43a149a1d0436a03a72aa01a39efd2</id>
<content type='text'>
</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>Register new snapshots (2015-07-26 a5c12f4).</title>
<updated>2015-07-27T10:31:48+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2015-07-27T10:31:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5720f7055ac13cf616eb3a9a0b187440b56817d5'/>
<id>urn:sha1:5720f7055ac13cf616eb3a9a0b187440b56817d5</id>
<content type='text'>
</content>
</entry>
</feed>
