1
Fork 0

[readme] toolchain grep and qemu-static

... so it matches what's in the CI.
This commit is contained in:
Motiejus Jakštys 2022-02-05 11:48:54 +02:00
parent 1102b261bd
commit 0cc6ce2a5b
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ For example, the toolchain `linux_amd64_gnu.2.28` is aliased to
used, run: used, run:
``` ```
$ bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p' $ bazel query @zig_sdk//... | grep _toolchain$
``` ```
## Specifying non-default toolchains (and not registering at all) ## Specifying non-default toolchains (and not registering at all)
@ -179,7 +179,7 @@ hello, world
``` ```
$ bazel test \ $ bazel test \
--run_under=qemu-aarch64 \ --run_under=qemu-aarch64-static \
--platforms @zig_sdk//:linux_arm64_platform \ --platforms @zig_sdk//:linux_arm64_platform \
--extra_toolchains @zig_sdk//:linux_arm64_musl_toolchain //test/... --extra_toolchains @zig_sdk//:linux_arm64_musl_toolchain //test/...
... ...