This repository contains Github Actions to build and package Rust and C toolchains for consumption with Bazel.
Currently we just re-compress the Rust toolchains from static.rust-lang.org
with zstd
which has much faster decompression times than the default LZMA2
algorithm typically used with .tar.xz
package.
We build a Clang toolchain from the upstream source llvm-project
with CMake and
Ninja. Generally following the instructions from:
The resulting toolchain is designed for consumption with toolchains_llvm
and to be a drop-in replacement for the toolchains provided by the upstream llvm-project
. Similar to Rust, we also compress
the package with zstd
.