Skip to content

SDK packaging: avoid forcing CGO on Darwin for watch-only functionality #13448

@rmvangun

Description

@rmvangun

I’m consuming the new Compose Go SDK from github.com/docker/compose/v5. My tool does not use file watching, but building on macOS currently forces CGO_ENABLED=1 due to the watch implementation pulling in an FSEvents-backed watcher.

Would you consider restructuring so that watch is opt-in for SDK consumers?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions