diff options
| author | bors <bors@rust-lang.org> | 2013-12-06 21:01:32 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-06 21:01:32 -0800 |
| commit | 820271df1c3d7899460c0fa25c1a7cf74d45d431 (patch) | |
| tree | 95f887fb4917f321c5317bfd88ea6c74afddba0c /src/libstd/rt | |
| parent | aa4455e4c76598fcf6de84de14f050a700a2a14e (diff) | |
| parent | e91ffb07105421b39dd6cade712522d0c5262c6c (diff) | |
| download | rust-820271df1c3d7899460c0fa25c1a7cf74d45d431.tar.gz rust-820271df1c3d7899460c0fa25c1a7cf74d45d431.zip | |
auto merge of #10809 : alexcrichton/rust/static-snapshot, r=alexcrichton
Now that we have the necessary logic in rustc for windows, this is possible to land.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/task.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index fd7fee9e2b4..63cc397e8d7 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -543,6 +543,7 @@ impl Unwinder { #[no_split_stack] // - it would be sad for this function to trigger __morestack #[doc(hidden)] // - Function must be `pub` to get exported, but it's // irrelevant for documentation purposes. +#[cfg(not(test))] // in testing, use the original libstd's version pub extern "C" fn rust_stack_exhausted() { use rt::in_green_task_context; use rt::task::Task; |
