Skip to content

Commit 9f60c4f

Browse files
committed
Note about --incompatible_enable_cc_toolchain_resolution in README
1 parent c313db6 commit 9f60c4f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bazel/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ parameter of `emsdk_emscripten_deps()`. Supported versions are listed in `revisi
2929

3030
## Building
3131

32-
First, write a new rule wrapping your `cc_binary`.
32+
Put the following line into your `.bazelrc`:
33+
34+
```
35+
build --incompatible_enable_cc_toolchain_resolution
36+
```
37+
38+
Then write a new rule wrapping your `cc_binary`.
3339

3440
```
3541
load("@rules_cc//cc:defs.bzl", "cc_binary")

0 commit comments

Comments
 (0)