aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cgo/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/cgo/callbacks.c')
-rw-r--r--src/runtime/cgo/callbacks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/cgo/callbacks.c b/src/runtime/cgo/callbacks.c
index 16614d03db..282beeea88 100644
--- a/src/runtime/cgo/callbacks.c
+++ b/src/runtime/cgo/callbacks.c
@@ -78,3 +78,6 @@ void (*_cgo_free)(void*) = x_cgo_free;
#pragma cgo_import_static x_cgo_thread_start
extern void x_cgo_thread_start(void*);
void (*_cgo_thread_start)(void*) = x_cgo_thread_start;
+
+#pragma cgo_export_static _cgo_topofstack
+#pragma cgo_export_dynamic _cgo_topofstack