Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a shared library loader with go1.8(experimental)
- Loading branch information
Showing
2 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
571b031
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.
@yuin this is an interesting commit, but afaik using plugin means using CGO - so it will break cross compilation?
571b031
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.
Hi @FZambia .
Yes, plugins break the cross compilation and work only on Linux at least now. (MacOS was dropped in Go1.8 beta2)
I have tested this commit on my Linux machine and the following plugin worked fine.