Skip to content

Conditionally inject supportedCapabilities#81

Merged
safchain merged 1 commit intosafchain:masterfrom
gavinbunney:master
Jun 21, 2024
Merged

Conditionally inject supportedCapabilities#81
safchain merged 1 commit intosafchain:masterfrom
gavinbunney:master

Conversation

@gavinbunney
Copy link
Copy Markdown
Contributor

When using this library in multi-os builds, the sys/unix flags for ETHTOOL_LINK_MODE_* fail to compile on darwin. This PR moves them into a ethtool_linux.go specific source file, and a stub in ethtool_darwin.go to not have any supportedCapabilities.

@safchain safchain merged commit 6585e3f into safchain:master Jun 21, 2024
@gavinbunney
Copy link
Copy Markdown
Contributor Author

Thanks for the quick merge! Would you be able to tag a new release as well? 🙏

@safchain
Copy link
Copy Markdown
Owner

I published a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants