mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +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 <[email protected]>
36 lines
1.2 KiB
Go
36 lines
1.2 KiB
Go
// Code generated by 'yaegi extract go/build'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/build"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["go/build/build"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"AllowBinary": reflect.ValueOf(build.AllowBinary),
|
|
"ArchChar": reflect.ValueOf(build.ArchChar),
|
|
"Default": reflect.ValueOf(&build.Default).Elem(),
|
|
"FindOnly": reflect.ValueOf(build.FindOnly),
|
|
"IgnoreVendor": reflect.ValueOf(build.IgnoreVendor),
|
|
"Import": reflect.ValueOf(build.Import),
|
|
"ImportComment": reflect.ValueOf(build.ImportComment),
|
|
"ImportDir": reflect.ValueOf(build.ImportDir),
|
|
"IsLocalImport": reflect.ValueOf(build.IsLocalImport),
|
|
"ToolDir": reflect.ValueOf(&build.ToolDir).Elem(),
|
|
|
|
// type definitions
|
|
"Context": reflect.ValueOf((*build.Context)(nil)),
|
|
"Directive": reflect.ValueOf((*build.Directive)(nil)),
|
|
"ImportMode": reflect.ValueOf((*build.ImportMode)(nil)),
|
|
"MultiplePackageError": reflect.ValueOf((*build.MultiplePackageError)(nil)),
|
|
"NoGoError": reflect.ValueOf((*build.NoGoError)(nil)),
|
|
"Package": reflect.ValueOf((*build.Package)(nil)),
|
|
}
|
|
}
|