Skip to content

[FR]: Add support for runtime_toolchain_type for jq/yq/... #747

@BoleynSu

Description

@BoleynSu

What is the current behavior?

No response

Describe the feature

The current toolchain only provides the binary for use during the build but no binary for the build output. People already misuse the cfg=exec binary in a cfg=target output, e.g. https://github.com/bazel-contrib/rules_oci/blob/main/oci/private/push.sh.tpl. Providing another runtime_toolchain_type (similar to what rules_java does) can help improve the current situation. Alternatively, we can provide both exec and target binary in the current toolchain and ask users to use the correct binary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneed: more infoThe issue isn't clear as written

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions