Skip to content

Commit

Permalink
Use clang.
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
  • Loading branch information
mathetake committed May 12, 2021
1 parent fe09128 commit 26a0890
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
build --enable_platform_specific_config
build --action_env=CC=clang
build --action_env=CXX=clnag++

build:linux --cxxopt=-std=c++17
# See https://bytecodealliance.github.io/wasmtime/c-api/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions/cache@v1
with:
path: "/home/runner/.cache/bazel"
key: bazel-${{ matrix.runtime }}-
key: bazel-${{ matrix.runtime }}-clang

- name: Test
run: |
Expand Down

0 comments on commit 26a0890

Please sign in to comment.