1
Fork 0
hermetic_cc_toolchain/toolchain
Motiejus Jakštys 1fb93e089c toolchain wrapper: zig_exe path is relative
Just like we know the path to zig_lib_dir, we do know the path to
zig_exe. Lets use that.

This was surfaced by experimenting with
`--experimental_use_hermetic_linux_sandbox`.
`repository_ctx.path("zig")` would return the real file system path to
zig (outside of the sandbox), which is not good when the sandbox is
hermetic.

Co-developed-by: Fabian Hahn <fabian@hahn.graphics>
2022-12-11 18:28:38 +02:00
..
libc Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
libc_aware Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
platform added support for Windows targets 2022-06-02 05:27:22 +03:00
private zig_include_root: fixes 2022-11-21 06:08:22 +02:00
toolchain WIP: use relative paths for tools 2022-09-27 10:14:59 +03:00
BUILD add .build.yml 2021-06-08 06:28:15 +03:00
BUILD.sdk.bazel remove zig_include_root 2022-12-07 12:17:44 +02:00
defs.bzl toolchain wrapper: zig_exe path is relative 2022-12-11 18:28:38 +02:00
zig_toolchain.bzl remove redundant flags 2022-10-01 23:27:58 +03:00