Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to compile standalone gazelle binary with rules_python plugin #1455

Copy link
Copy link
Closed
@Whoaa512

Description

@Whoaa512
Issue body actions

Context:
I work within a repo where we require building a static gazelle binary per platform that is checked into git LFS. The precompiled binaries are then used for pre-commit hooks and can be run in CI environments without the need to build from source with bazel.

Issue:
I'm having issues compiling gazelle with the rules_python package because it makes use of runfiles.

The runfiles however is not portable and short of patching the parser.go I don't see a clear path to compiling this gazelle plugin to be a portable go binary.

Is this intentional or could there be an alternative that allows for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.