mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
stub runtime_{Before,After}Exec for linkage
This commit is contained in:
committed by
Ron Evans
parent
105fe9b25d
commit
e39358d0ee
@@ -0,0 +1,19 @@
|
||||
// Copyright 2014 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package runtime
|
||||
|
||||
// Called from syscall package before Exec.
|
||||
//
|
||||
//go:linkname syscall_runtime_BeforeExec syscall.runtime_BeforeExec
|
||||
func syscall_runtime_BeforeExec() {
|
||||
// Used in BigGo to serialize exec / thread creation. Stubbing to
|
||||
// satisfy link.
|
||||
}
|
||||
|
||||
// Called from syscall package after Exec.
|
||||
//
|
||||
//go:linkname syscall_runtime_AfterExec syscall.runtime_AfterExec
|
||||
func syscall_runtime_AfterExec() {
|
||||
}
|
||||
Reference in New Issue
Block a user