Files
yaegi/stdlib/syscall/syscall.go
T
Marc VertesandFernandez Ludovic 0a5b16cad6 feat: support go1.22
* 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>
2024-03-05 17:56:04 +01:00

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