We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ec9dd commit ff5d0c9Copy full SHA for ff5d0c9
compiler/goroutine.go
@@ -34,7 +34,7 @@ func (b *builder) createGoInstruction(funcPtr llvm.Value, params []llvm.Value, p
34
} else {
35
// The stack size is fixed at compile time. By emitting it here as a
36
// constant, it can be optimized.
37
- if b.DefaultStackSize == 0 {
+ if b.Scheduler == "tasks" && b.DefaultStackSize == 0 {
38
b.addError(pos, "default stack size for goroutines is not set")
39
}
40
stackSize = llvm.ConstInt(b.uintptrType, b.DefaultStackSize, false)
0 commit comments