src/runtime/debug: add SetMaxStack to allow compress/flate tests to build
Этот коммит содержится в:
родитель
2e6b92fc56
коммит
44bb381220
1 изменённых файлов: 8 добавлений и 0 удалений
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче