18 lines
364 B
Text
18 lines
364 B
Text
Index: src/runtime/stubs_riscv64.go
|
|
--- src/runtime/stubs_riscv64.go.orig
|
|
+++ src/runtime/stubs_riscv64.go
|
|
@@ -4,9 +4,14 @@
|
|
|
|
package runtime
|
|
|
|
+import "unsafe"
|
|
+
|
|
// Called from assembly only; declared for go vet.
|
|
func load_g()
|
|
func save_g()
|
|
+
|
|
+//go:noescape
|
|
+func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
|
|
|
// Used by reflectcall and the reflect package.
|
|
//
|