Skip to content

Ship statically linked binaries? #399

@vito

Description

@vito

This might be difficult, since I'm not sure how the internals work with V8 and all that jazz.

In short, I can't use the binaries shipped in the GitHub releases because they link to libstdc++.so.6. I'm trying to run bud in a container built with Nix, which doesn't have these dependencies installed to the typical locations. In general, a statically linked binary is much more portable.

Setting CGO_ENABLED=0 is usually enough, but there are corner cases.

Thanks, and hope you're doing well!

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions