Source File
rdebug.go
Belonging Package
runtime
// Copyright 2014 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.package runtimeimport _ // for go:linkname//go:linkname setMaxStack runtime/debug.setMaxStackfunc ( int) ( int) {= int(maxstacksize)maxstacksize = uintptr()return}//go:linkname setPanicOnFault runtime/debug.setPanicOnFaultfunc ( bool) ( bool) {:= getg()= .paniconfault.paniconfault =return}