mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 01:47:51 +08:00
d0be34c227
This has created a lot of //go:build lines.
19 lines
362 B
Go
19 lines
362 B
Go
//go:build gccgo
|
|
// +build gccgo
|
|
|
|
package eval
|
|
|
|
import "errors"
|
|
|
|
var errPluginNotImplemented = errors.New("plugin not implemented")
|
|
|
|
type pluginStub struct{}
|
|
|
|
func pluginOpen(name string) (pluginStub, error) {
|
|
return pluginStub{}, errPluginNotImplemented
|
|
}
|
|
|
|
func (pluginStub) Lookup(symName string) (interface{}, error) {
|
|
return nil, errPluginNotImplemented
|
|
}
|