# Link through `zig cc`, which brings its own glibc sysroot, so a build needs no # system C toolchain — the same arrangement vidya uses, and the reason this # repo builds on a machine with no `cc` on its PATH at all. # # The pinned tools come from the DotSlash files in `scripts/`, fetched and # cached on first use; `dotslash` must be on PATH. Paths are relative to the # directory cargo runs in, which is the workspace root. [build] rustc-wrapper = "scripts/sccache" # openh264 is C++, so the workspace needs both halves of zig's toolchain. [env] CC = { value = "scripts/zcc", relative = true } CXX = { value = "scripts/zxx", relative = true } [target.x86_64-unknown-linux-gnu] linker = "scripts/zcc"