diff options
Diffstat (limited to 'src/runtime/runtime_tinygowasmp2.go')
-rw-r--r-- | src/runtime/runtime_tinygowasmp2.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/runtime_tinygowasmp2.go b/src/runtime/runtime_tinygowasmp2.go index 70b5a6d11..5565cb4ee 100644 --- a/src/runtime/runtime_tinygowasmp2.go +++ b/src/runtime/runtime_tinygowasmp2.go @@ -81,3 +81,9 @@ func procUnpin() { func hardwareRand() (n uint64, ok bool) { return random.GetRandomU64(), true } + +func libc_errno_location() *int32 { + // CGo is unavailable, so this function should be unreachable. + runtimePanic("runtime: no cgo errno") + return nil +} |