Small fix for Bazel instructions. (#875)

In the past the instructions were to copy `emscripten_toolchain` into the project dir, now it downloads emsdk as a package so the `bazelrc` part has to refer to `@emsdk`.
This commit is contained in:
Danny B
2021-08-27 02:18:08 +07:00
committed by GitHub
parent 8ce2547a5e
commit e82ac4ec1f

View File

@@ -25,7 +25,7 @@ emsdk_emscripten_deps()
Put the following lines into your `.bazelrc`:
```
build:wasm --crosstool_top=//emscripten_toolchain:everything
build:wasm --crosstool_top=@emsdk//emscripten_toolchain:everything
build:wasm --cpu=wasm
build:wasm --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
```