We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f163a1 commit acee51aCopy full SHA for acee51a
src/runtime/proc.go
@@ -0,0 +1,11 @@
1
+package runtime
2
+
3
+// Called from syscall package before Exec.
4
+//
5
+//go:linkname syscall_runtime_BeforeExec syscall.runtime_BeforeExec
6
+func syscall_runtime_BeforeExec() {}
7
8
+// Called from syscall package after Exec.
9
10
+//go:linkname syscall_runtime_AfterExec syscall.runtime_AfterExec
11
+func syscall_runtime_AfterExec() {}
src/syscall/exec_unix.go
@@ -0,0 +1,7 @@
+//go:build unix
+package syscall
+// Implemented in runtime package.
+func runtime_BeforeExec()
+func runtime_AfterExec()
src/syscall/syscall.go
@@ -4,7 +4,7 @@ import (
"errors"
"sync/atomic"
- "github.com/tinygo-org/tinygo/src/internal/bytealg"
+ "internal/bytealg"
)
const (
0 commit comments