Zig build of LLVM libunwind.
  • C++ 66.5%
  • C 22.8%
  • Assembly 9.6%
  • Zig 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-05-19 18:25:47 +03:00
.github/workflows init 2025-04-29 20:37:25 +03:00
libunwind chore: update 2025-05-19 18:25:47 +03:00
.gitattributes init 2025-04-29 20:37:25 +03:00
.gitignore init 2025-04-29 20:37:25 +03:00
build.zig refactor: remove redundant addIncludePath 2025-04-29 20:57:39 +03:00
build.zig.zon init 2025-04-29 20:37:25 +03:00
LICENSE init 2025-04-29 20:37:25 +03:00
README.md init 2025-04-29 20:37:25 +03:00

libunwind

Zig build of LLVM libunwind.

Usage

  1. Add libunwind dependency to build.zig.zon:
zig fetch --save git+https://github.com/allyourcodebase/libunwind.git
  1. Use libunwind dependency in build.zig:
const libunwind_dep = b.dependency("libunwind", .{
    .target = target,
    .optimize = optimize,
});
const libunwind_art = libunwind_dep.artifact("unwind");
<std.Build.Step.Compile>.linkLibrary(libunwind_art);