Skip to content

Commit

Permalink
fix: provide cc_toolchain artifacts required for assembly actions (#208)
Browse files Browse the repository at this point in the history
Currently, having an assembly source file as srcs of a cc_library will
fail because compiler files are missing from the sandbox:
```
src/main/tools/process-wrapper-legacy.cc:80: "execvp(external/hermetic_cc_toolchain~~toolchains~zig_sdk/tools/x86_64-linux-gnu.2.36/c++, ...)": No such file or directory
```

This PR fixes that.
  • Loading branch information
cerisier authored Feb 17, 2025
1 parent 393f191 commit 49dcc33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolchain/private/cc_toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def declare_cc_toolchains(os, zig_sdk_path):
toolchain_config = ":%s_cc_config" % zigtarget,
all_files = "//:{}_all_files".format(zigtarget),
ar_files = "//:{}_ar_files".format(zigtarget),
as_files = "//:{}_compiler_files".format(zigtarget),
compiler_files = "//:{}_compiler_files".format(zigtarget),
linker_files = "//:{}_linker_files".format(zigtarget),
dwp_files = "//:empty",
Expand Down

0 comments on commit 49dcc33

Please sign in to comment.