Skip to content

Commit

Permalink
Add syntax highlighting to code blocks in README.md (#197)
Browse files Browse the repository at this point in the history
Signed-off-by: Ofek Lev <[email protected]>
  • Loading branch information
ofek authored Oct 19, 2024
1 parent c463477 commit 0f53271
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Uber GitHub repository](https://github.com/uber) and renamed to

Add this to your `WORKSPACE`:

```
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

HERMETIC_CC_TOOLCHAIN_VERSION = "v3.1.1"
Expand Down Expand Up @@ -175,7 +175,7 @@ bazel build --config=linux_arm64_musl //test/go:go
Instead of adding the toolchains to `.bazelrc`, they can be added
unconditionally. Append this to `WORKSPACE` after `zig_toolchains(...)`:

```
```starlark
register_toolchains(
"@zig_sdk//toolchain:linux_amd64_gnu.2.28",
"@zig_sdk//toolchain:linux_arm64_gnu.2.28",
Expand Down Expand Up @@ -212,7 +212,7 @@ versions of glibc or musl), use a linux toolchain from
`@zig_sdk//libc_aware/toolchains:<...>`. The toolchain will only be selected
when building for a specific libc. For example, in `WORKSPACE`:

```
```starlark
register_toolchains(
"@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.19",
"@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.28",
Expand Down

0 comments on commit 0f53271

Please sign in to comment.