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

Этот коммит содержится в:
Damian Gryski 2021-11-11 08:29:53 -08:00 коммит произвёл Ayke
родитель 2e6b92fc56
коммит 44bb381220

Просмотреть файл

@ -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
}