aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-12-08 14:27:06 +0100
committerRon Evans <[email protected]>2023-12-08 21:10:26 +0100
commitb58b7c59ae81cb2d1679395d89abc099759bb3a9 (patch)
treeb9039d81c9ca294b1d8723f9d7102e894cd1fea2
parente14b6a7009178cc02c12066dd25b09a791ba47dc (diff)
downloadtinygo-b58b7c59ae81cb2d1679395d89abc099759bb3a9.tar.gz
tinygo-b58b7c59ae81cb2d1679395d89abc099759bb3a9.zip
runtime: stub out Breakpoint() function
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--src/runtime/debug.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/debug.go b/src/runtime/debug.go
index 3dab52353..139e18bcd 100644
--- a/src/runtime/debug.go
+++ b/src/runtime/debug.go
@@ -18,3 +18,8 @@ func NumCgoCall() int {
func NumGoroutine() int {
return 1
}
+
+// Stub for Breakpoint, does not do anything.
+func Breakpoint() {
+ panic("Breakpoint not supported")
+}