Skip to content

Commit ebd7a85

Browse files
committed
---
yaml --- r: 15299 b: refs/heads/try c: 81ce090 h: refs/heads/master i: 15297: ba34886 15295: 1bb74ec v: v3
1 parent 4a3d159 commit ebd7a85

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: bc5e10dd1b19383311ef51c621c34b70824e8159
5+
refs/heads/try: 81ce090643a16e98a202735cb94c8788be2c9219
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/rust_uv.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#ifdef __WIN32__
2+
// For alloca
3+
#include <malloc.h>
4+
#endif
15

26
#include "rust_globals.h"
37
#include "rust_task.h"
@@ -98,11 +102,7 @@ rust_uv_loop_delete(uv_loop_t* loop) {
98102
// from a malloc with no backtrace.
99103
//
100104
// This pads our stack with some extra space before deleting the loop
101-
#ifndef __WIN32__
102105
alloca(512);
103-
#else
104-
_alloca(512);
105-
#endif
106106
uv_loop_delete(loop);
107107
}
108108

0 commit comments

Comments
 (0)