Skip to content
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

Fix build without cgo #1182

Merged
merged 1 commit into from
Oct 2, 2018
Merged

Fix build without cgo #1182

merged 1 commit into from
Oct 2, 2018

Commits on Oct 2, 2018

  1. Fix build without cgo

    The github.com/DataDog/zstd library wraps a c library, so it requires
    cgo to compile. Add zstd wrapper funcs to sarama and put the zstd
    import behind a build flag requiring cgo. Without cgo, the wrapper
    funcs return an error saying zstd doesn't work without cgo.
    Muir Manders committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    3dd2f63 View commit details
    Browse the repository at this point in the history