summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2023-03-03 06:27:10 +1100
committerGitHub <noreply@github.com>2023-03-02 14:27:10 -0500
commitd4d28f2ffe522d2509dccfa7be0eef709732d93f (patch)
tree4f19bcc1c594ce8933474e82343f0222f2af1a00 /lib/pure
parent38d299dfc0c9f1315cf412aa76cb041642d62f07 (diff)
downloadNim-d4d28f2ffe522d2509dccfa7be0eef709732d93f.tar.gz
Allow `futureLogging` in release builds (#21448)
* Add test case

* Fixes 21447: Keeps stackTrace around when using futureLogging

* Remove extra whitespace
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/asyncfutures.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncfutures.nim b/lib/pure/asyncfutures.nim
index edf5f7277..51aaaca36 100644
--- a/lib/pure/asyncfutures.nim
+++ b/lib/pure/asyncfutures.nim
@@ -29,7 +29,7 @@ type
     finished: bool
     error*: ref Exception              ## Stored exception
     errorStackTrace*: string
-    when not defined(release):
+    when not defined(release) or defined(futureLogging):
       stackTrace: seq[StackTraceEntry] ## For debugging purposes only.
       id: int
       fromProc: string
09 01:42:05 +0100 operator precedence changed: assignment like operators are supported; escaping of operators with \ is supported' href='/ahoang/Nim/commit/todo.txt?h=devel&id=68be801f63dc41e79f96ef2516350cc8538c5d7e'>68be801f6 ^
299390a58 ^

2b323c638 ^
81a917390 ^
2633e3fb2 ^
959e370ae ^
0b4d5e45b ^
5131b3cea ^
2bd14f4ba ^
02e8e9c3e ^
e88123fb1 ^





2bd14f4ba ^
d10973adb ^

ec2bd53ea ^
990dc2d71 ^
d10973adb ^
fd62116f6 ^



c682a1da2 ^
fd62116f6 ^

a702524ae ^
632aece19 ^
32b4192b3 ^
0857efe51 ^

fd62116f6 ^
d10973adb ^
4fa80956b ^

d10973adb ^
42eb21be7 ^
42e6130b2 ^

4fa80956b ^
d10973adb ^
2d54b8508 ^
8b6f9ef5e ^
4741e8f9a ^
2b323c638 ^

c25ffbf26 ^
8fc15ca0d ^
703430787 ^
5b96eaa95 ^
4839800c2 ^
7fd8f285d ^
f7f0c90ff ^




4839800c2 ^
a1cdd6e7f ^







2183bf77a ^

d10973adb ^



cd83cc81a ^
8e7917c3f ^
d10973adb ^
d10973adb ^
d10973adb ^
d10973adb ^






d10973adb ^

990dc2d71 ^


dd99fe61c ^
e956abbad ^
990dc2d71 ^


3e806a374 ^

d560e84fc ^
72651de71 ^


fedc69f61 ^

299390a58 ^
03ba0f3e2 ^




bcbfa3aaa ^


632aece19 ^
c53ad1b39 ^
752cddb91 ^

632aece19 ^
990dc2d71 ^
ec0f982ed ^






c53ad1b39 ^














d10973adb ^


6a8a409f1 ^
d10973adb ^








d10973adb ^
61a442bb0 ^
d10973adb ^


3005955d2 ^





e194037ea ^







3005955d2 ^
e194037ea ^
d10973adb ^
959e370ae ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192