run_binary() build rule implementation.

Runs a binary as a build action. This rule does not require Bash (unlike native.genrule()).

## run_binary

load("@bazel_skylib//rules:run_binary.bzl", "run_binary")

run_binary(name, srcs, outs, args, env, tool)

Runs a binary as a build action.

This rule does not require Bash (unlike `native.genrule`).

**ATTRIBUTES**

| Name  | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name |  A unique name for this target.   | Name (https://bazel.build/concepts/labels#target-names) | required |  |
| srcs |  Additional inputs of the action.

These labels are available for `$(execpath)` and `$(location)` expansion in `args` and `env`.   | List of labels (https://bazel.build/concepts/labels) | optional |  `[]`  |
| outs |  Output files generated by the action.

These labels are available for `$(execpath)` and `$(location)` expansion in `args` and `env`.   | List of labels; nonconfigurable (https://bazel.build/reference/be/common-definitions#configurable-attributes) | required |  |
| args |  Command line arguments of the binary.

Subject to [`$(execpath)` and `$(location)`](https://bazel.build/reference/be/make-variables#predefined_label_variables) expansion.   | List of strings | optional |  `[]`  |
| env |  Environment variables of the action.

Subject to  [`$(execpath)` and `$(location)`](https://bazel.build/reference/be/make-variables#predefined_label_variables) expansion.   | Dictionary: String -> String (https://bazel.build/rules/lib/dict) | optional |  `{}`  |
| tool |  The tool to run in the action.

Must be the label of a *_binary rule, of a rule that generates an executable file, or of a file that can be executed as a subprocess (e.g. an .exe or .bat file on Windows or a binary with executable permission on Linux). This label is available for `$(execpath)` and `$(location)` expansion in `args` and `env`.   | Label (https://bazel.build/concepts/labels) | required |  |

