| # A runtime toolchain for shell scripts. | |
| # | |
| # Use `sh_toolchain` to register a toolchain for this type. | |
| # | |
| # Every toolchain registered for this type has the following attributes: | |
| # - `path`: The path to the shell interpreter for the target platform. | |
| # | |
| # Other attribute may be present but are considered implementation details of | |
| # Bazel's sh_* rules. | |
| # | |
| # Toolchains registered for this type should have target constraints. | |
| toolchain_type( | |
| name = "toolchain_type", | |
| visibility = ["//visibility:public"], | |
| ) |