-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: nice errors when failing to load plugins #7429
Conversation
} | ||
|
||
func loadPlugin(fi string) ([]iplugin.Plugin, error) { | ||
func unixLoadPlugin(fi string) ([]iplugin.Plugin, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before, we wouldn't try loading plugins on platforms that didn't support plugins.
Now, we try loading plugins everywhere, but return an error if we find a plugin that we can't load (either because the platform is unsupported, or because something is wrong with the plugin).
bump @dirkmc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Stebalien anything we're waiting on before merging this?
5239bd5
to
8f852f9
Compare
@aschmahmann it was just waiting on a review. |
partially fixes #7305
811f138
to
c07b6fb
Compare
partially fixes #7305
The other half is to actually build with CGO support by default.