Skip to content

Commit 348a02d

Browse files
dgryskiaykevl
authored andcommitted
src/runtime/debug: stub debug.Stack()
1 parent 7273a2b commit 348a02d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/runtime/debug/debug.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ package debug
88
func SetMaxStack(n int) int {
99
return n
1010
}
11+
12+
// Stack returns a formatted stack trace of the goroutine that calls it.
13+
//
14+
// Not implemented.
15+
func Stack() []byte {
16+
return nil
17+
}

0 commit comments

Comments
 (0)