src/runtime/debug: add SetMaxStack to allow compress/flate tests to build

This commit is contained in:
Damian Gryski
2021-11-11 08:29:53 -08:00
committed by Ayke
parent 2e6b92fc56
commit 44bb381220
+8
View File
@@ -1,2 +1,10 @@
// Package debug is a dummy package that is not yet implemented.
package debug
// SetMaxStack sets the maximum amount of memory that can be used by a single
// goroutine stack.
//
// Not implemented.
func SetMaxStack(n int) int {
return n
}