mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
16 lines
523 B
Go
16 lines
523 B
Go
// Package syscall provide wrapper of standard library syscall package for native import in Yaegi.
|
|
package syscall
|
|
|
|
import "reflect"
|
|
|
|
// Symbols stores the map of syscall package symbols.
|
|
var Symbols = map[string]map[string]reflect.Value{}
|
|
|
|
func init() {
|
|
Symbols["github.com/traefik/yaegi/stdlib/syscall/syscall"] = map[string]reflect.Value{
|
|
"Symbols": reflect.ValueOf(Symbols),
|
|
}
|
|
}
|
|
|
|
//go:generate ../../internal/cmd/extract/extract -exclude=^Exec,Exit,ForkExec,Kill,Ptrace,Reboot,Shutdown,StartProcess,Syscall syscall
|