Skip to content

allyourcodebase/libunwind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);