https://github.com/allyourcodebase/libunwind
Zig build of LLVM libunwind.
https://github.com/allyourcodebase/libunwind
Last synced: 6 months ago
JSON representation
Zig build of LLVM libunwind.
- Host: GitHub
- URL: https://github.com/allyourcodebase/libunwind
- Owner: allyourcodebase
- License: mit
- Created: 2025-04-29T17:37:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-19T15:25:50.000Z (10 months ago)
- Last Synced: 2025-05-19T16:44:25.958Z (10 months ago)
- Language: C++
- Size: 177 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libunwind
## Zig build of [LLVM libunwind](https://github.com/llvm/llvm-project/tree/main/libunwind).
### Usage
1. Add `libunwind` dependency to `build.zig.zon`:
```sh
zig fetch --save git+https://github.com/allyourcodebase/libunwind.git
```
2. Use `libunwind` dependency in `build.zig`:
```zig
const libunwind_dep = b.dependency("libunwind", .{
.target = target,
.optimize = optimize,
});
const libunwind_art = libunwind_dep.artifact("unwind");
.linkLibrary(libunwind_art);
```