8b5c41e409
This patch continues the work to support NixOS and others non-FHS distributions by replacing instances of `/bin/bash` with `/usr/bin/env bash`, which works correctly in more systems than the former. Signed-off-by: Luis Holanda <luiscmholanda@gmail.com>
16 lines
615 B
Bash
Executable File
16 lines
615 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
indent() { sed 's/^/ /'; }
|
|
|
|
echo "Available toolchains:"
|
|
bazel query --noshow_progress '@zig_sdk//toolchain:*' | indent
|
|
echo "Available platforms:"
|
|
bazel query --noshow_progress '@zig_sdk//platform:*' | indent
|
|
echo "Available libc aware toolchains:"
|
|
bazel query --noshow_progress '@zig_sdk//libc_aware/toolchain:*' | indent
|
|
echo "Available libc aware platforms:"
|
|
bazel query --noshow_progress '@zig_sdk//libc_aware/platform:*' | indent
|
|
echo "Available libc variants:"
|
|
bazel query --noshow_progress "attr(constraint_setting, @zig_sdk//libc:variant, @zig_sdk//...)" | indent
|