Skip to content

Commit 44bb381

Browse files
dgryskiaykevl
authored andcommitted
src/runtime/debug: add SetMaxStack to allow compress/flate tests to build
1 parent 2e6b92f commit 44bb381

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/runtime/debug/debug.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
// Package debug is a dummy package that is not yet implemented.
22
package debug
3+
4+
// SetMaxStack sets the maximum amount of memory that can be used by a single
5+
// goroutine stack.
6+
//
7+
// Not implemented.
8+
func SetMaxStack(n int) int {
9+
return n
10+
}

0 commit comments

Comments
 (0)