aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/cgocall.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/cgocall.go b/src/runtime/cgocall.go
index 76a533e933..a21474b01f 100644
--- a/src/runtime/cgocall.go
+++ b/src/runtime/cgocall.go
@@ -134,6 +134,7 @@ func cgocall_errno(fn, arg unsafe.Pointer) int32 {
return errno
}
+//go:nosplit
func endcgo(mp *m) {
mp.ncgo--
if mp.ncgo == 0 {