mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
src/runtime/debug: add SetMaxStack to allow compress/flate tests to build
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user