Through witchcraft and dark magic, Zig contains a C standard library and cross compiler for every architecture in 45 megabytes.

  • JackbyDev
    link
    English
    111 months ago

    No, here

    Note that there would still be an LLVM backend for outputting .bc files (#13265), but the Zig compiler would lack the capability to compile .bc files into object files. LLVM or Clang would need to be installed and invoked separately for that use case.

    You’d just need LLVM separately but Zig would still be able to make files that LLVM can handle.