Skip to content

env_inherit in kt_jvm_binary does nothing #1432

@agluszak

Description

@agluszak

When you execute a binary via bazel run it is not run in a sandbox, so it can read any env variable it wants to. IMO env_inherit in kt_jvm_binary can be removed, as it gives a false sense of security. java_binary rule does not have this attribute, for example.

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