Skip to content

Commit 2ade29a

Browse files
committed
DEBUG CI: Fiber::Stack.new raises a math overflow...
1 parent 2e66946 commit 2ade29a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fiber/stack.cr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ class Fiber
77
getter? reusable : Bool
88

99
def initialize(@pointer : Void*, @bottom : Void*, *, @reusable = false)
10+
{% if flag?(:unix) %}
11+
LibC.dprintf 2, "DEBUG: Fiber::Stack.new(%p, %p, %s)\n", @pointer, @bottom, @reusable ? "true" : "false"
12+
{% end %}
1013
@size = (@bottom - @pointer).to_i32
1114
end
1215

0 commit comments

Comments
 (0)